Repository navigation
update(application): 학생 외부 지원 등록 시 면접 예정 상태로 초기화 - #87
Merged
hongjm0912 merged 2 commits intoAug 30, 2026
Merged
Conversation
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.
배경
준연님이 학생 외부 지원 내역 수동 등록 기능(
POST /api/applications/external, PR #82)을 검토하고 수정이 필요한 부분을 정리해주셨습니다.즉, 이 API의 성격을 "외부 지원 접수 기록"에서 "이미 서류 합격 후 면접이 잡힌 외부 지원 건 기록"으로 명확히 하는 변경입니다. 대화 중 "지원 일시(appliedAt)"가 정말 필요 없는 필드로 확인되어, 별도 입력을 안 받는 데서 더 나아가 필드 자체를 제거하기로 했습니다.
변경 사항
POST /api/applications/external요청 바디에interviewAt(면접 일시) 추가, 필수값으로 검증(없으면 400)RegisterMyExternalApplicationService: 등록 시 상태를APPLIED가 아닌INTERVIEW_SCHEDULED로 설정(ApplicationJpaEntity.updateStatus()재사용 —RegisterManualApplicantService의 기존 패턴과 동일)ApplicationResponse(학생 "내 지원 현황" 응답)에interviewAt노출 — 등록 직후 응답 및 이후 조회에서 면접 일시를 확인할 수 있도록 함ApplicationJpaEntity,ApplicationResponse,AdminApplicantResponse에서 지원 일시(appliedAt) 필드 완전 제거tb_application.applied_at컬럼도 함께DROP COLUMN처리(사용자 확인 후 직접 실행) —ddl-auto: update는 컬럼을 삭제하지 않고, 남겨두면NOT NULL제약 때문에 신규 INSERT가 전부 실패하므로 필요한 조치였음검증
./gradlew compileJava통과application_source='EXTERNAL')가 모두status=APPLIED로 저장되어 있음을 확인 — 변경 전 동작이 의도(APPLIED 고정)대로였음을 재검증 후 이번 스펙 변경 진행tb_application.applied_at컬럼 삭제 및 나머지 컬럼 정상 확인