diff --git a/src/main/java/bside/NotToDoClub/domain_name/nottodo/repository/UserNotToDoJpaRepository.java b/src/main/java/bside/NotToDoClub/domain_name/nottodo/repository/UserNotToDoJpaRepository.java index dbe4887..3e9979f 100644 --- a/src/main/java/bside/NotToDoClub/domain_name/nottodo/repository/UserNotToDoJpaRepository.java +++ b/src/main/java/bside/NotToDoClub/domain_name/nottodo/repository/UserNotToDoJpaRepository.java @@ -27,7 +27,7 @@ public interface UserNotToDoJpaRepository extends JpaRepository= current_date") + @Query("select count(n) from UserNotToDo n where n.user.id = :userId and n.useYn = true and n.endDate >= current_date and n.startDate <= current_date ") int countUserNotToDoLimitCheck(Long userId); @Query("select n from UserNotToDo n " +