We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
DISTINCT
1 parent d889146 commit 04501d1Copy full SHA for 04501d1
src/main/java/eatda/repository/store/StoreRepository.java
@@ -25,7 +25,7 @@ default Store getById(Long id) {
25
List<Store> findAllByCategoryOrderByCreatedAtDesc(StoreCategory category, Pageable pageable);
26
27
@Query("""
28
- SELECT DISTINCT s FROM Store s
+ SELECT s FROM Store s
29
JOIN Cheer c ON s.id = c.store.id
30
WHERE c.member.id = :memberId
31
ORDER BY c.createdAt DESC
0 commit comments