-
Notifications
You must be signed in to change notification settings - Fork 3
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
[BE] 모임 필터 리스트 정렬 추가 #535
[BE] 모임 필터 리스트 정렬 추가 #535
Conversation
Test Results162 tests 162 ✅ 19s ⏱️ Results for commit 39f9234. |
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.
굳굳 이제 정렬된 리스트로 보이겠군요~
@@ -87,9 +88,11 @@ public class Club { | |||
private Status status; | |||
|
|||
@OneToMany(mappedBy = "clubMemberId.club", orphanRemoval = true, cascade = CascadeType.ALL) | |||
@OrderBy("createdAt") |
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.
default가 ASC이군요~!
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.
나중에 페이징 추가하면 batchsize로 바꿀 예정이라 없앨 수 있을것 같슴당.
private Set<ClubMember> clubMembers = new HashSet<>(); | ||
|
||
@OneToMany(mappedBy = "clubPetId.club", orphanRemoval = true, cascade = CascadeType.ALL) | ||
@OrderBy |
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.
Order할 element를 지정하지 않으면 primaryKey로 하는 군요~!
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.
도도가 설명도 잘 달아줬네요 😄
|
||
// hello | ||
public ChatRoomController( |
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.
ㅋㅋㅋㅋ 지워줘서 고마워요 👍
clubPets.removeAll(participatingMemberPets); | ||
// participatingMemberPets.forEach(clubPet -> clubPet.updateClub(null)); | ||
participatingMemberPets.forEach(clubPets::remove); |
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.
여기 이렇게 변경한 이유가 궁금해요!!
이슈
개발 사항
리뷰 요청 사항 (없으면 삭제해 주세요)
전달 사항 (없으면 삭제해 주세요)