[DP-485, DP-486] 답변 채택 시 수정됨 오표시 / 채용 이력서 필요 오표시 수정#170
Merged
nYeonG4001 merged 1 commit intoMay 14, 2026
Conversation
DP-485: Answer 엔티티에 isEdited 필드 추가 — adopt() 호출 시 updatedAt이 변경되어 프론트에서 "(수정됨)"이 오표시되는 문제 수정. update()에서만 isEdited=true로 설정. AnswerResponse, AnswerWithCommentsResponse DTO에 isEdited 포함하여 응답. DP-486: JobListItemResponse, JobDetailResponse에 resumeAvailable 필드 추가 — matchScore=0이 "이력서 없음"과 "스킬 0% 매칭"을 구분하지 못해 마지막 페이지에서 "이력서 필요"가 오표시되는 문제 수정. userSkills가 비어있을 때 false 반환.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
DP-485: 답변 채택(
adopt) 시updatedAt이 갱신되어 프론트에서 "(수정됨)"이 오표시되는 버그 수정Answer엔티티에isEdited: boolean필드 추가 (defaultfalse)update()메서드에서만isEdited = true설정,adopt()는 변경 없음AnswerResponse,AnswerWithCommentsResponseDTO에isEdited포함하여 응답updatedAt !== createdAt조건 →isEdited === true조건으로 변경 요청 (전달 완료)DP-486: 채용 매칭순 정렬 마지막 페이지에 "이력서 필요"가 오표시되는 버그 수정
matchScore = 0이 "이력서 없음"과 "스킬 0% 매칭" 두 케이스를 구분하지 못하는 문제JobListItemResponse,JobDetailResponse에resumeAvailable: boolean필드 추가userSkills가 비어있으면(이력서·태그 없음)false, 아니면truematchScore === 0조건 →!resumeAvailable조건으로 변경 요청 (전달 완료)Test plan
AnswerTest—update()시isEdited=true,adopt()시isEdited불변 검증AnswerServiceTest—updateAnswer응답isEdited=true,adoptAnswer응답isEdited=false검증JobServiceTest— 이력서·태그 없는 유저resumeAvailable=false, 태그 있는 유저resumeAvailable=true검증./gradlew build --no-daemon전체 통과 확인