Skip to content

Commit

Permalink
Merge pull request #83 from locavell/fix/#82
Browse files Browse the repository at this point in the history
sql 쿼리 Places 테이블명 수정
  • Loading branch information
qzzloz authored Aug 22, 2024
2 parents 325ac67 + 8d8251c commit 9828a9e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ List<Places> findPlacesInRange(
"(6371 * acos(cos(radians(:latitude)) * cos(radians(latitude)) * " +
"cos(radians(longitude) - radians(:longitude)) + sin(radians(:latitude)) * " +
"sin(radians(latitude)))) AS distance " +
"FROM Places " +
"FROM places " +
"HAVING distance < :radius " +
"ORDER BY distance", nativeQuery = true)
List<Places> findNearbyPlaces(@Param("latitude")double latitude,
Expand Down

0 comments on commit 9828a9e

Please sign in to comment.