fix: 일정 조회 쿼리에서의 오타 수정(결과는 정상이고 동일하나 인덱스 활용 불가능)

This commit is contained in:
이상진 2025-10-02 22:16:05 +09:00
parent e9c8e612fa
commit 267b93bdca

View File

@ -50,7 +50,7 @@ interface ScheduleRepository : JpaRepository<ScheduleEntity, Long> {
WHERE WHERE
s.storeId = :storeId s.storeId = :storeId
AND s.date = :date AND s.date = :date
AND (:themeId IS NULL OR t._id = :themeId) AND (:themeId IS NULL OR s.themeId = :themeId)
""" """
) )
fun findStoreSchedulesWithThemeByDate( fun findStoreSchedulesWithThemeByDate(