Repository navigation
[feat] 얼굴 인식 세션 층 추가와 다른 층 학생 OTHER_FLOOR - #254
Merged
Merged
Conversation
minwoo-3
requested review from
Fresh-Banana,
Ims2oha and
kimseongchan0914
as code owners
October 22, 2026 11:46
Fresh-Banana
approved these changes
Oct 22, 2026
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/v1/face/sessions요청에floor(3·4·5)를 받고, 응답에도floor를 돌려준다. 없거나 다른 값이면 400INVALID_FLOOR.V21__add_face_session_floor.sql,face_recognition_session.floor).recognition.status에OTHER_FLOOR를 추가했다. 세션 층이 아닌 학생이면 이 값으로 알린다.studentName·studentNumber·attendance는 null이다. 출석을 기록하지 않고 최근 인식 기록에도 남기지 않는다.qrRecommended는 항상 false다.attempts는 AI 값을 그대로 쓴다.FaceSessionCreateRequest.floor,FaceSessionResponse.floor,Recognition.status의OTHER_FLOOR를 반영했다.🔍 리뷰 시 참고사항
dormitoryFloor)을 서버가 세션 층과 비교한다. 이유:floor가 null이다. 이런 세션은 층을 따지지 않고 예전처럼 동작한다.floor는 필수라서 웹(CheckUp-Client#344, #345)이floor를 보내기 전에 이 서버가 배포되면 세션 생성이 400이 된다. 웹과 함께 배포해야 한다.contracts/face.openapi.yaml)은 이 레포에서 고치지 않았다. Start-Up-harness에 따로 반영해야 한다.검사
./gradlew build통과(로컬 Postgres·Redis, CI와 같은 환경변수). V21 migration과ddl-auto: validate도 함께 확인했다.✅ 체크리스트
.env.example등) 변경이 필요한 경우 작성 또는 수정했나요? (변경 필요 없음)📎 관련 이슈(선택)