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 : 공지, 랭킹 목록 조회 페이징 적용 및 잡다한 것들 #186

Merged
merged 6 commits into from
Nov 21, 2024

Conversation

rladmstn
Copy link
Contributor

📌 Related Issue

close #185

🚀 Description

  • 공지, 랭킹 목록 조회 시 페이징을 적용했습니다.
  • 공지 조회 시 작성자의 프로필 이미지 정보를 DTO에 추가했습니다.
  • 그룹 생성 시 profileImage 필드명도 groupImage로 변경해달란 요청이 있어서 했습니다.

📢 Review Point

📚Etc (선택)

@rladmstn rladmstn added the new-feature 기능 추가 label Nov 17, 2024
@rladmstn rladmstn requested review from s-hwan and sh0723 November 17, 2024 17:38
@rladmstn rladmstn self-assigned this Nov 17, 2024
Copy link
Contributor

@s-hwan s-hwan left a comment

Choose a reason for hiding this comment

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

고생하셨습니당


return PageableExecutionUtils.getPage(query.fetch(), pageable, countQuery::fetchOne);
}

@Override
Copy link
Contributor

Choose a reason for hiding this comment

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

호옥시 이부분은 어디서 쓰나요..? 위에 페이징으로 받은 리스트가 있는데 다른 곳에서 쓰는게 있나요?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

회원이 탈퇴할 때 AOP를 사용해서 랭킹을 새로 갱신해야할 때가 있었습니다! 그 때 그룹 멤버들에 대해 페이징 없이 모든 리스트를 가져와야 해서 얘도 필요합니담

Copy link
Contributor

Choose a reason for hiding this comment

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

아아 넹! 답변감사합니두!

if (errors.hasErrors())
throw new RequestException("그룹 생성 요청이 올바르지 않습니다.", errors);
GroupCodeResponse inviteCode = studyGroupService.createGroup(user, request, profileImage);
GroupCodeResponse inviteCode = studyGroupService.createGroup(user, request, groupImage);
Copy link
Contributor

Choose a reason for hiding this comment

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

앗 이부분은 제가 했어야한건데.. 감사함돵 ㅜ.ㅜ

@sh0723
Copy link
Contributor

sh0723 commented Nov 21, 2024

이거 컨플릭 생겨서 제가 머지는 안할게요!

@rladmstn
Copy link
Contributor Author

이거 컨플릭 생겨서 제가 머지는 안할게요!

self merge 하겠습니다-

@rladmstn rladmstn added the self-merge 리뷰어가 아닌, 작성자가 머지하겠습니다. label Nov 21, 2024
@rladmstn rladmstn merged commit c855b7b into develop Nov 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature 기능 추가 self-merge 리뷰어가 아닌, 작성자가 머지하겠습니다.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat : 공지 및 랭킹 페이징 적용
3 participants