Skip to content

Commit

Permalink
Merge pull request #93 from studio-recoding/dev
Browse files Browse the repository at this point in the history
[🔧fix] 타임존 설정 실수 수정
  • Loading branch information
JeonHaeseung authored May 25, 2024
2 parents 48a93c1 + 140bdef commit 09cfa24
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ public interface ScheduleRepository extends JpaRepository<Schedule, Long> {
// 특정 맴버의 한달 치 스케쥴 반환
@Query( value = "SELECT * FROM schedule " +
"WHERE member_id = :memberId " +
"AND YEAR(CONVERT_TZ(start_time, '+00:00', '+09:00')) = CONVERT_TZ(:year, '+00:00', '+09:00')" +
"AND MONTH(CONVERT_TZ(start_time, '+00:00', '+09:00')) = CONVERT_TZ(:month, '+00:00', '+09:00')" +
"AND YEAR(CONVERT_TZ(start_time, '+00:00', '+09:00')) = :year " +
"AND MONTH(CONVERT_TZ(start_time, '+00:00', '+09:00')) = :month " +
"ORDER BY start_time ASC",
nativeQuery = true)
List<Schedule> findOneMonthSchedulesByMember_Id(
Expand Down

0 comments on commit 09cfa24

Please sign in to comment.