Skip to content

Commit

Permalink
fix: Deadline 마감이 오늘인 경우도 포함 (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sion99 authored Sep 21, 2024
1 parent e82ab0e commit bd6bf79
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ default Pray getPrayByIdAndMemberId(Long prayId, String username) throws NotFoun

List<Pray> findAllByIdIn(List<Long> prayIds);

List<Pray> findAllByDeadlineBefore(LocalDate date);
@Query("SELECT p FROM Pray p WHERE p.deadline <= :date")
List<Pray> findAllByDeadlineBefore(@Param("date") LocalDate date);

Pray getPrayByOriginPrayId(Long prayId);

Expand Down

0 comments on commit bd6bf79

Please sign in to comment.