-
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
[BE] 모임 삭제 #85
[BE] 모임 삭제 #85
Conversation
JoinedMoimJpaEntity joinedMoimJpaEntity = JoinedMoimJpaEntity.builder() | ||
.moimId(moimId) | ||
.memberId(memberId) | ||
.build(); |
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.
이거 엔티티로 빼는게 좋을 것 같네용
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.
수정했습니당
|
||
private final MoimAppender moimAppender; | ||
private final FileUploader fileUploader; | ||
private final MoimFinder moimFinder; | ||
private final MoimUpdater moimUpdater; | ||
private final MoimRemover moimRemover; | ||
private final JoinedMoimAppender joinedMoimAppender; | ||
private final MeetingFinder meetingFinder; | ||
private final JoinedMeetingRemover joinedMeetingRemover; | ||
private final TodoRemover todoRemover; | ||
private final JoinedMoimRemover joinedMoimRemover; | ||
private final ScheduleRemover scheduleRemover; | ||
|
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.
이거 implement에서 좀 더 묶고 Service에 넘겨도 좋을 것 같습니당
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.
조씁니다!
|
||
@Transactional | ||
public void createJoinedMoim(final long memberId, final long moimId) { | ||
moimFinder.getById(moimId); |
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.
validate 로 의도를 나타내는 함수 하나 만들면 더 좋을 것 같아요!
#️⃣연관된 이슈
📝작업 내용
💬리뷰 요구사항(선택)