-
Notifications
You must be signed in to change notification settings - Fork 1
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(#105) housework info update #117
Conversation
기존에는 관계 해제 후 관계로 조회한 투두를DELETE 상태로 변경해줘서 아무일도 일어나지 않았었다. 관계 해제 전에 DELETE로 변경해줘야 했다.
수정 목록
|
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.
고생하셨습니다!! ㅎㅎ
|
||
// houseworkInfo와 일치하는 값들을 삭제한다. | ||
@Transactional |
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.
이 메서드를 사용하는 서비스단에 이미 붙어있어서 호출하는 쪽의 트랜잭션에 묶여서 따로 붙여주지 않아도 될 줄 알았어요. 붙여야하는 걸까요??? 😅
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.
단순 조회 기능이 아닌 삭제를 하는 메서드라서 안전하게 삭제하려면 붙여줘야 하겠군요!
|
||
|
||
@Override | ||
public boolean isSameHouseworkMemberIdAndGroupMemberId(HouseworkInfo info, List<Long> groupIdList) { |
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.
Interface의 파라미터명과 일치하지 않네요 ㅋㅋ
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.
앗 😅
작업내용
테스트
관련 이슈
#105