|
|
@@ -28,6 +28,6 @@ public interface RateRepo extends JpaRepository<Rate, Long>, JpaSpecificationExe
|
|
|
|
|
|
Long countAllByOrganizationIdAndYear(@NonNull Long organizationId, String year);
|
|
|
|
|
|
- @Query(nativeQuery = true, value = "select count(1) from rate where expert_user_id = ?1 or find_in_set(?1,expert_member_user_id)")
|
|
|
+ @Query(nativeQuery = true, value = "select count(1) from rate where del=0 and (expert_user_id = ?1 or find_in_set(?1,expert_member_user_id))")
|
|
|
Long countByExpertId(Long userId);
|
|
|
}
|