Skip to content

Commit 04501d1

Browse files
committed
fix: JPQL 정상 동작을 위해 DISTINCT 키워드 제거
1 parent d889146 commit 04501d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/eatda/repository/store/StoreRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ default Store getById(Long id) {
2525
List<Store> findAllByCategoryOrderByCreatedAtDesc(StoreCategory category, Pageable pageable);
2626

2727
@Query("""
28-
SELECT DISTINCT s FROM Store s
28+
SELECT s FROM Store s
2929
JOIN Cheer c ON s.id = c.store.id
3030
WHERE c.member.id = :memberId
3131
ORDER BY c.createdAt DESC

0 commit comments

Comments
 (0)