更新时间:2023-11-30 23:28:40
尝试不带括号
@Query("select u from User u where u.id in :ids")
Spring Data JPA存储库:派生查询中的IN子句不起作用