diff --git a/service/src/main/kotlin/com/sangdol/roomescape/schedule/infrastructure/persistence/ScheduleRepository.kt b/service/src/main/kotlin/com/sangdol/roomescape/schedule/infrastructure/persistence/ScheduleRepository.kt index 48e75cd3..ab70893e 100644 --- a/service/src/main/kotlin/com/sangdol/roomescape/schedule/infrastructure/persistence/ScheduleRepository.kt +++ b/service/src/main/kotlin/com/sangdol/roomescape/schedule/infrastructure/persistence/ScheduleRepository.kt @@ -50,7 +50,7 @@ interface ScheduleRepository : JpaRepository { WHERE s.storeId = :storeId AND s.date = :date - AND (:themeId IS NULL OR t._id = :themeId) + AND (:themeId IS NULL OR s.themeId = :themeId) """ ) fun findStoreSchedulesWithThemeByDate(