-
Notifications
You must be signed in to change notification settings - Fork 0
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
[FEAT] 유저 작품 취향 조회 기능 구현 #149
Merged
Conversation
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
조회한 owner에 해당하는 userNovels의 userNovelAttractivePoint를 flatMap으로 평탄화, userNovelAttractivePoint에서 attractivePoint get, attractivePointName으로 groupBy하여 count와 key-value로 map 생성
Entry.comparingByValue를 통해 내림차순 정렬, limit로 상위 3개 조회, getKey로 attractivePointName만 추출
조회한 owner에 해당하는 userNovels의 userNovelKeywords를 flatMap으로 평탄화, userNovelKeyword에서 keyword get, keywordName으로 groupBy하여 count와 key-value로 map 생성
Entry.comparingByValue를 통해 내림차순 정렬
(e1, e2) -> e1으로 key값 충돌 방지: 실제로 충돌이 발생하지는 않지만 toMap의 필수 파라미터
Kim-TaeUk
commented
Aug 15, 2024
src/main/java/org/websoso/WSSServer/dto/userNovel/TasteKeywordGetResponse.java
Show resolved
Hide resolved
Kim-TaeUk
commented
Aug 15, 2024
src/main/java/org/websoso/WSSServer/service/UserNovelService.java
Outdated
Show resolved
Hide resolved
Kim-TaeUk
commented
Aug 15, 2024
src/main/java/org/websoso/WSSServer/service/UserNovelService.java
Outdated
Show resolved
Hide resolved
Kim-TaeUk
commented
Aug 15, 2024
src/main/java/org/websoso/WSSServer/service/UserNovelService.java
Outdated
Show resolved
Hide resolved
Kim-TaeUk
commented
Aug 15, 2024
src/main/java/org/websoso/WSSServer/service/UserNovelService.java
Outdated
Show resolved
Hide resolved
rinarina0429
requested changes
Aug 15, 2024
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.
수고하셨습니다! 리뷰 한번씩 확인해주세요~
src/main/java/org/websoso/WSSServer/service/UserNovelService.java
Outdated
Show resolved
Hide resolved
src/main/java/org/websoso/WSSServer/service/UserNovelService.java
Outdated
Show resolved
Hide resolved
src/main/java/org/websoso/WSSServer/service/UserNovelService.java
Outdated
Show resolved
Hide resolved
ChaeAg
reviewed
Aug 18, 2024
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.
궁금한 점이 있어 코멘트 하나만 남겨두었습니다!!
ㅎㅎ 수고많으셨어요!!
src/main/java/org/websoso/WSSServer/service/UserNovelService.java
Outdated
Show resolved
Hide resolved
ChaeAg
approved these changes
Aug 22, 2024
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.
수고하셨습니당~! 👍
rinarina0429
approved these changes
Aug 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Related Issue
Key Changes
To Reviewers