Skip to content

Commit

Permalink
Fix : join 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
mmihye committed Oct 3, 2024
1 parent 182dc63 commit c0948aa
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ public SearchPlace searchList(String category, String query, List<Long> disabili
List<Place> places = queryFactory
.selectDistinct(place)
.from(place)
.join(place.placeDisabilityCategories, disabilityPlaceCategory)
.where(categoryEq(category), queryContains(query), disabilityTypeHas(disabilityType),
detailFilterHas(detailFilter).or(defaultDisabilityTypes(disabilityType)),
areacodeEq(areacode), sigungucodeEq(sigungucode))
Expand All @@ -72,7 +71,6 @@ public SearchPlace searchList(String category, String query, List<Long> disabili
long total = queryFactory
.select(place.countDistinct())
.from(place)
.join(place.placeDisabilityCategories, disabilityPlaceCategory)
.where(categoryEq(category), queryContains(query), disabilityTypeHas(disabilityType),
detailFilterHas(detailFilter).or(defaultDisabilityTypes(disabilityType)),
areacodeEq(areacode), sigungucodeEq(sigungucode))
Expand All @@ -90,7 +88,6 @@ public List<Place> searchMap(String category,List<Long> disabilityType, List<Lon
List<Place> places = queryFactory
.selectDistinct(place)
.from(place)
.join(place.placeDisabilityCategories, disabilityPlaceCategory)
.where(categoryEq(category), disabilityTypeHas(disabilityType), detailFilterHas(detailFilter),
mapIn(minX,maxX,minY,maxY) )
.orderBy(arg(arrange))
Expand Down

0 comments on commit c0948aa

Please sign in to comment.