Skip to content

Commit daedeb9

Browse files
committed
hotfix : Param 이름 추가
1 parent d5a0de6 commit daedeb9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/ita/tinybite/domain/party/repository/PartySearchRepository.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,9 @@ SELECT COUNT(*)
4444
FROM party p
4545
WHERE p.title LIKE CONCAT('%', :title, '%') AND p.category = :category
4646
""", nativeQuery = true)
47-
Page<Party> findByTitleContainingAndCategoryWithDistance(String title, @Param("lat") Double lat, @Param("lon") Double lon, PartyCategory category, Pageable pageable);
47+
Page<Party> findByTitleContainingAndCategoryWithDistance(@Param("title") String title,
48+
@Param("lat") Double lat,
49+
@Param("lon") Double lon,
50+
@Param("category") PartyCategory category,
51+
Pageable pageable);
4852
}

0 commit comments

Comments
 (0)