-
Notifications
You must be signed in to change notification settings - Fork 0
[BE-117] 레코드 수정 #123
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-117] 레코드 수정 #123
Conversation
| ) | ||
| }) | ||
| @PutMapping("/{recordId}") | ||
| public ResponseEntity<Long> updateRecord( |
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.
modifyRecord는 어떤가요?
| private List<String> deleteImages; | ||
|
|
||
| @Builder | ||
|
|
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.
띄워쓰기 있네용
|
|
||
| @Builder | ||
|
|
||
| public UpdateRecordRequestDto(String title, String content, String colorName, String iconName, |
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.
코드 컨벤션 지켜주세용
| public void deleteAttachmentFiles( | ||
| @NonNull RefType refType, | ||
| @NonNull Long refId, | ||
| @NonNull List<String> attachmentFileNames) { |
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.
) 여기 한칸 띄어쓰기 해주세용
| @NonNull RefType refType, | ||
| @NonNull Long refId, | ||
| @NonNull List<String> attachmentFileNames) { | ||
| imageFileRepository.deleteAllByRefTypeAndRefIdAndSaveNameIsIn(refType, refId, attachmentFileNames); |
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.
이거 쿼리 메소드 SaveNameIsIn할 때 IsIn으로 해야되나요?
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.
IsIn이 아닌 In으로 사용해도 되네용
- updateRecord -> modifyRecord 로 변경 - UpdateRecordRequestDto -> ModifyRecordRequestDto 로 변경 - 코드 컨벤션 수정 - deleteAllByRefTypeAndRefIdAndSaveNameIsIn -> deleteAllByRefTypeAndRefIdAndSaveNameIn 으로 변경
관련 이슈 번호
설명
레코드 수정 테스트와 로직 작성하였습니다.
변경사항
질문사항