Skip to content

Conversation

@kdomo
Copy link
Member

@kdomo kdomo commented Jan 22, 2023

관련 이슈 번호

설명

레코드 수정 테스트와 로직 작성하였습니다.

변경사항

질문사항

@kdomo kdomo added ✨ Feature 기능 개발 ✅ Test 테스트 labels Jan 22, 2023
@kdomo kdomo self-assigned this Jan 22, 2023
)
})
@PutMapping("/{recordId}")
public ResponseEntity<Long> updateRecord(
Copy link
Contributor

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

Copy link
Contributor

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,
Copy link
Contributor

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) {
Copy link
Contributor

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);
Copy link
Contributor

Choose a reason for hiding this comment

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

이거 쿼리 메소드 SaveNameIsIn할 때 IsIn으로 해야되나요?

Copy link
Member Author

Choose a reason for hiding this comment

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

IsIn이 아닌 In으로 사용해도 되네용

kdomo added 5 commits January 23, 2023 21:29
- updateRecord -> modifyRecord 로 변경
- UpdateRecordRequestDto -> ModifyRecordRequestDto 로 변경
- 코드 컨벤션 수정
- deleteAllByRefTypeAndRefIdAndSaveNameIsIn -> deleteAllByRefTypeAndRefIdAndSaveNameIn 으로 변경
@Jaeyeop-Jung Jaeyeop-Jung merged commit d457a87 into develop Jan 23, 2023
@Jaeyeop-Jung Jaeyeop-Jung deleted the feature/BE-117 branch January 23, 2023 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Feature 기능 개발 ✅ Test 테스트

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants