-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat :. 무한스크롤 방식 필터 조회 쿼리 구현 및 조건 쿼리 메서드 분리 리팩토링
- Loading branch information
Showing
6 changed files
with
232 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...a/org/guzzing/studayserver/domain/academy/repository/dto/AcademiesByFilterWithScroll.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.guzzing.studayserver.domain.academy.repository.dto; | ||
|
||
import java.util.List; | ||
|
||
public record AcademiesByFilterWithScroll ( | ||
List<AcademyByFilterWithScroll> academiesByLocation, | ||
boolean hasNext | ||
) { | ||
public static AcademiesByFilterWithScroll of( | ||
List<AcademyByFilterWithScroll> academiesByLocation, | ||
boolean hasNext | ||
) { | ||
return new AcademiesByFilterWithScroll( | ||
academiesByLocation, | ||
hasNext | ||
); | ||
} | ||
|
||
} |
13 changes: 13 additions & 0 deletions
13
...ava/org/guzzing/studayserver/domain/academy/repository/dto/AcademyByFilterWithScroll.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.guzzing.studayserver.domain.academy.repository.dto; | ||
|
||
public record AcademyByFilterWithScroll ( | ||
Long academyId, | ||
String academyName, | ||
String fullAddress, | ||
String phoneNumber, | ||
Double latitude, | ||
Double longitude, | ||
String shuttleAvailable, | ||
boolean isLiked | ||
) { | ||
} |
13 changes: 13 additions & 0 deletions
13
...a/org/guzzing/studayserver/domain/academy/repository/dto/AcademyByLocationWithScroll.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.guzzing.studayserver.domain.academy.repository.dto; | ||
|
||
public record AcademyByLocationWithScroll( | ||
Long academyId, | ||
String academyName, | ||
String fullAddress, | ||
String phoneNumber, | ||
Double latitude, | ||
Double longitude, | ||
String shuttleAvailable, | ||
boolean isLiked | ||
) { | ||
} |