-
Notifications
You must be signed in to change notification settings - Fork 0
[feat] 책 전체 페이지 수 및 총평 작성 가능 여부 조회 /장르별 마감 임박 및 인기 방 조회 api 구현 #120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
3a43f64
[refactor] RecentSearchCreateManager Component로 변경 (#114)
buzz0331 010d27c
[feat] 책 전체 페이지수 및 총평 가능 여부 조회 api 구현 (#117)
buzz0331 c8406a1
[docs] 책 전체 페이지수 및 총평 가능 여부 조회 api 명세 (#117)
buzz0331 a382e97
[refactor] ErrorCode 통합 (#117)
buzz0331 1c1ed31
[refactor] 안쓰는 클래스 삭제 (#117)
buzz0331 f73d37a
[feat] 테스트용 메서드 어노테이션 (#117)
buzz0331 c64fdb2
[feat] ErrorCode HttpStatus 수정 (#117)
buzz0331 11e6a62
[feat] RoomShowMineQueryDto -> RoomQueryDto (#117)
buzz0331 26ccbd5
[feat] 함수형 인터페이스 패키지 분리 (#117)
buzz0331 eff5577
[feat] 필요한 dto 및 인터페이스 정의 (#117)
buzz0331 aade72a
[feat] 쿼리 선언 (#117)
buzz0331 966c81b
[feat] 서비스 구현 (#117)
buzz0331 1229f68
[feat] 마감임박 및 인기 방 조회 api (#117)
buzz0331 9c9f1e9
[refactor] 유저가 참여한 방은 조회되지 않도록 필터링 조건 추가 (#117)
buzz0331 b1b0eaf
[test] 마감임박/인기있는 모임방 조회 api 통합 테스트 (#117)
buzz0331 73a05b4
[refactor] 메서드 추출 (#117)
buzz0331 b949ef1
[refactor] 헬퍼 서비스 어노테이션 정의 (#117)
buzz0331 603d159
[feat] Transaction(readOnly) 어노테이션 (#117)
buzz0331 8ce0cd1
[refactor] 중복 검증 제거 (#117)
buzz0331 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
src/main/java/konkuk/thip/common/annotation/HelperService.java
This file contains hidden or 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,15 @@ | ||
| package konkuk.thip.common.annotation; | ||
|
|
||
| import org.springframework.core.annotation.AliasFor; | ||
| import org.springframework.stereotype.Service; | ||
|
|
||
| import java.lang.annotation.*; | ||
|
|
||
| @Target({ElementType.TYPE}) | ||
| @Retention(RetentionPolicy.RUNTIME) | ||
| @Service | ||
| public @interface HelperService { | ||
|
|
||
| @AliasFor(annotation = Service.class) | ||
| String value() default ""; | ||
| } | ||
This file contains hidden or 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 hidden or 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
4 changes: 2 additions & 2 deletions
4
.../java/konkuk/thip/recentSearch/application/service/manager/RecentSearchCreateManager.java
This file contains hidden or 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 hidden or 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 hidden or 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
10 changes: 10 additions & 0 deletions
10
src/main/java/konkuk/thip/room/adapter/in/web/response/RoomGetBookPageResponse.java
This file contains hidden or 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,10 @@ | ||
| package konkuk.thip.room.adapter.in.web.response; | ||
|
|
||
| public record RoomGetBookPageResponse( | ||
| int totalBookPage, | ||
| boolean isOverviewPossible | ||
| ) { | ||
| public static RoomGetBookPageResponse of(int totalBookPage, boolean isOverviewPossible) { | ||
| return new RoomGetBookPageResponse(totalBookPage, isOverviewPossible); | ||
| } | ||
| } |
21 changes: 21 additions & 0 deletions
21
src/main/java/konkuk/thip/room/adapter/in/web/response/RoomGetDeadlinePopularResponse.java
This file contains hidden or 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,21 @@ | ||
| package konkuk.thip.room.adapter.in.web.response; | ||
|
|
||
| import java.util.List; | ||
|
|
||
| public record RoomGetDeadlinePopularResponse( | ||
| List<RoomDto> deadlineRoomList, | ||
| List<RoomDto> popularRoomList | ||
| ) { | ||
| public record RoomDto( | ||
| Long roomId, | ||
| String bookImageUrl, | ||
| String roomName, | ||
| int memberCount, | ||
| String deadlineDate | ||
| ) { | ||
| } | ||
|
|
||
| public static RoomGetDeadlinePopularResponse of(List<RoomDto> deadlineRoomList, List<RoomDto> popularRoomList) { | ||
| return new RoomGetDeadlinePopularResponse(deadlineRoomList, popularRoomList); | ||
| } | ||
| } |
This file contains hidden or 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 hidden or 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
11 changes: 11 additions & 0 deletions
11
src/main/java/konkuk/thip/room/adapter/out/persistence/function/RoomQueryFunction.java
This file contains hidden or 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,11 @@ | ||
| package konkuk.thip.room.adapter.out.persistence.function; | ||
|
|
||
| import konkuk.thip.room.application.port.out.dto.RoomQueryDto; | ||
|
|
||
| import java.time.LocalDate; | ||
| import java.util.List; | ||
|
|
||
| @FunctionalInterface | ||
| public interface RoomQueryFunction { | ||
| List<RoomQueryDto> apply(Long userId, LocalDate lastLocalDate, Long lastId, int pageSize); | ||
| } |
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM