Skip to content

Commit

Permalink
fix: native query 내 오타 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yeop0740 committed Nov 18, 2023
1 parent c71f32a commit 933f20f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public interface StoreRepository extends JpaRepository<Store, Long> {
" ST_Distance_Sphere(point(s.longitude, s.latitude), point(:longitude, :latitude)) AS distance," +
" s.map_url AS mapUrl" +
" FROM store s" +
" LEFT JOIN pick p ON s.store_id = p.store_id AND p.use_id = :userId" +
" LEFT JOIN pick p ON s.store_id = p.store_id AND p.user_id = :userId" +
" LEFT JOIN contract c ON s.store_id = c.store_id" +
" WHERE c.contract_id IS NULL AND s.store_id = :storeId",
nativeQuery = true
Expand Down

0 comments on commit 933f20f

Please sign in to comment.