Repository navigation
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
github-actions
Bot
requested review from
jjunh33,
leegain1,
sangrae2325 and
tnals0924
October 19, 2026 06:25
xeoxxn
added this pull request to stack #127
October 19, 2026 06:49
…e-rejected-status
This was referenced Oct 19, 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.
#️⃣연관된 이슈
feat/#125-fee-admin-api-revision([Feat/#125] 학생회비 납부 관리자 API 개편 #126). GitHub 스택 #127로 묶여 있어 아래 PR이 머지되면 base가 자동으로 바뀝니다. [Feat/#123] 학생회비 납부 사용자 API 개편 #124 → [Feat/#125] 학생회비 납부 관리자 API 개편 #126 머지 후에 머지해 주세요.🎯 해결하려는 문제가 무엇인가요?
학생회비 납부 상태 중 확인필요(
NEEDS_CHECK)를 반려(REJECTED)로 이름만 바꿉니다. 동작은 그대로입니다.❓ 왜 해결해야 하나요?
이어지는 #151에서 이 상태의 의미가 바뀝니다. 지금은 "학생은 문의만 할 수 있고, 운영진이 납부 전으로 되돌려야 다시 낼 수 있는" 상태인데, #151부터는 운영진이 돌려보내면 학생이 학기 인증부터 다시 납부합니다. 그 동작에는 "확인이 필요하다"보다 "반려됐다"가 맞습니다.
이름 변경만 따로 뺀 이유: 상수 하나가 도메인 · 응답 · UseCase · Swagger에 흩어져 있어서, #151의 동작 변경과 섞이면 리뷰할 때 진짜 바뀐 규칙이 묻힙니다.
⭐ 어떻게 해결했나요?
TransferStatus.NEEDS_CHECK→REJECTED. 화면 표기는 계속 "확인필요"라 enum에 그 대응을 주석으로 남겼습니다StudentTransferStatus.review,FeeResponse(2곳),AdminFeeReviewUseCase.validateAdminNoteV23__rename_needs_check_to_rejected.sql— 기존NEEDS_CHECK행을REJECTED로UPDATE@Schema예시,AdminFeeApi설명, 주석 2곳🧩 이 PR의 한계 & 트레이드오프
V20주석의NEEDS_CHECK는 [Feat/#123] 학생회비 납부 사용자 API 개편 #124 소관이고, 그 시점 기준으로 맞는 설명이라 두었습니다compileJava,ModularityTests·DomainImplAccessTests통과. 회비 쪽 단위 테스트는 원래 없습니다.V23은 MySQL 8.4 컨테이너(ItemOptimisticLockTest—MySqlJpaTest상속)에서 Flyway로 적용되는 것까지 확인했습니다 ([Refactor/#152] 학생회비 납부 요청을 이력으로 쌓기 #156 검증 때V26까지 함께 적용)⛓️ 기존 기능에 미치는 영향
PATCH /v1/admin/fee/requests/{studentTransferStatusId}의status,GET /v1/admin/fee/requests의status필터, 두 응답의 상태 값이NEEDS_CHECK→REJECTED입니다. 관리자 프론트가NEEDS_CHECK를 보내면 400(INVALID_TRANSFER_STATUS)이 나므로 배포 순서를 프론트와 맞춰야 합니다GET /v1/app/fee/me의feeStatus도 같은 값이REJECTED로 내려갑니다🔀 Edge Case & 실패 시나리오
NEEDS_CHECK로 저장된 행V23이REJECTED로 바꿉니다NEEDS_CHECK를 보냄INVALID_TRANSFER_STATUSV22를 #139(열린피드백)가 씁니다. 이 스택이 먼저 머지되면 번호를 다시 맞춰야 합니다📋 검토한 대안과 선택 이유
NEEDS_CHECK유지: #151부터 이 상태가 "다시 내라"는 뜻이 되는데, 이름이 "확인이 필요하다"면 코드를 읽는 사람이 동작을 오해합니다💬 리뷰 포인트
[c]화면 표기("확인필요")와 enum 이름(REJECTED)이 달라집니다. enum 주석으로 대응을 남겼는데 이걸로 충분한지