-
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.
지역별 수거함 검색 기능의 데이터 조회 로직을 QueryDSL로 마이그레이션 (#128)
* refactor: repository 클래스들 패키지 위치 변경 * refactor: searchBySigunguNm 메서드의 데이터 조회 로직을 QueryDSL로 마이그레이션 * refactor: searchByDongNm 메서드의 데이터 조회 로직을 QueryDSL로 마이그레이션
- Loading branch information
Showing
8 changed files
with
64 additions
and
35 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
17 changes: 0 additions & 17 deletions
17
src/main/java/contest/collectingbox/module/location/domain/DongInfoRepository.java
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
...main/java/contest/collectingbox/module/location/domain/repository/DongInfoRepository.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,8 @@ | ||
package contest.collectingbox.module.location.domain.repository; | ||
|
||
import contest.collectingbox.module.location.domain.DongInfo; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface DongInfoRepository extends JpaRepository<DongInfo, Long> { | ||
DongInfo findBySigunguNmAndDongNm(String sigunguNm, String dongNm); | ||
} |
3 changes: 2 additions & 1 deletion
3
...e/location/domain/LocationRepository.java → ...domain/repository/LocationRepository.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
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