src/main/java/com/gkhy/labRiskManage/domain/account/repository/jpa/UserRepository.java
@@ -59,6 +59,10 @@ */ @Query(value = "select * from sys_user where id = :evaluateUserId and status in (1,2)", nativeQuery = true) User getUserInfoByIdAndSellInfo(Long evaluateUserId); @Query(value = "select u from User u where u.id in :uidList and u.status in (1,2)") List<User> getUserInfoByIds(List<Long> uidList); @Query(value = "select u from User u where u.id = :uid and u.status in (1,2)") User getById(Long uid);