Skip to content

Commit

Permalink
#23 [Fix] 범위 3km로 통일
Browse files Browse the repository at this point in the history
  • Loading branch information
JSoi committed Aug 1, 2022
1 parent 3ffba31 commit 557e6f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public StorePagedResponseDto getStoreInOnePointRange(BigDecimal latStart, BigDec
* @return 위도, 경도, 카테고리, 배리어 프리, 페이징을 만족하는 배리어 프리 업장 리턴
*/
public StorePagedResponseDto getStoreInOnePointRange(BigDecimal lat, BigDecimal lng, String category, List<String> facility, Pageable pageable, String socialId) {
BigDecimal[] range = QuerydslLocation.getRange(lat, lng, 2);
BigDecimal[] range = QuerydslLocation.getRange(lat, lng, 3);
if (range == null)
return getStoreInOnePointRange(null, null, null, null,lat,lng, category, facility, pageable, socialId);
return getStoreInOnePointRange(range[0], range[1], range[2], range[3],lat,lng, category, facility, pageable, socialId);
Expand Down

0 comments on commit 557e6f8

Please sign in to comment.