generated from pricelees/issue-pr-template
fix: 일정 조회 쿼리에서의 오타 수정(결과는 정상이고 동일하나 인덱스 활용 불가능)
This commit is contained in:
parent
e9c8e612fa
commit
267b93bdca
@ -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(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user