Skip to content
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: 브리핑 목록 조회 V2 각 순위별 최신 브리핑 모아서 응답 #153

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

swa07016
Copy link
Member

🚀 개요

각 순위별 최신 브리핑을 모아서 10건 내려줍니다.

🔍 변경사항

findTop10ByTypeOrderByCreatedAtDesc 메소드가 변경되었습니다.
스무건 조회 후 10개를 모아서 내려줍니다.

@swa07016 swa07016 added the ✨ feature New feature or request label Jan 10, 2024
@swa07016 swa07016 requested a review from CYY1007 January 10, 2024 05:48
@swa07016 swa07016 self-assigned this Jan 10, 2024
@swa07016 swa07016 linked an issue Jan 10, 2024 that may be closed by this pull request
.collect(Collectors.toCollection(ArrayList::new));

Map<Integer, Briefing> briefingMap = new HashMap<>();
for (Briefing candidate : briefingList)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 부분은 스트림 사용이 힘들까요?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수정해보겠습니다!

@CYY1007 CYY1007 merged commit 4b9d34e into develop Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🚀 [feature] 브리핑 목록 조회 API 쿼리 수정
2 participants