Skip to content

Commit

Permalink
Merge pull request #54 from Team-UMC/fix/#53/Schedule
Browse files Browse the repository at this point in the history
[FIX] ์Šค์ผ€์ค„ ๋ ˆํฌ์ง€ํ† ๋ฆฌ findScheduleByYearAndMonth ์ธ์ž ์ˆ˜์ •
  • Loading branch information
junseokkim authored Feb 4, 2024
2 parents 6cc2ff6 + 2025b80 commit aeaba99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public interface ScheduleRepository extends JpaRepository<Schedule, UUID> {

@Query(value = "SELECT s FROM Schedule s WHERE DATE_FORMAT(s.startDateTime, '%Y-%m') <= DATE_FORMAT(:date, '%Y-%m') AND DATE_FORMAT(:date, '%Y-%m') <= DATE_FORMAT(s.endDateTime, '%Y-%m')")
List<Schedule> findSchedulesByYearAndMonth (
@Param("yearMonth") LocalDate date
@Param("date") LocalDate date
);

}

0 comments on commit aeaba99

Please sign in to comment.