feat: 기사 견적 반려 API - #39
Merged
Merged
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthrough기사의 견적 요청 반려 기능을 추가했습니다. 반려 사유를 검증하고, 요청 상태·만료·서비스 가능 여부·중복 이력을 확인한 뒤 반려 정보를 저장합니다. Changes견적 요청 반려
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant Mover
participant estimateRouter
participant estimateController
participant moverEstimateRequestService
participant moverEstimateRequestRepository
Mover->>estimateRouter: POST /requests/:estimateRequestId/reject
estimateRouter->>estimateController: 인증 및 Body 검증 후 호출
estimateController->>moverEstimateRequestService: rejectEstimate(...)
moverEstimateRequestService->>moverEstimateRequestRepository: 요청 및 기사 정보 조회
moverEstimateRequestService->>moverEstimateRequestRepository: 반려 레코드 생성
moverEstimateRequestService-->>estimateController: 결과 반환
estimateController-->>Mover: 201 success 응답
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Obebe-creator
left a comment
Contributor
There was a problem hiding this comment.
PR확인했습니다!
기존 견적 제안 API 흐름 유지하며 계층 구도도 컨벤션과 맞게 잘 작성된 것으로 보입니다.
특별히 수정 요청 드릴 부분은 없어 보입니다
This was referenced Aug 10, 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.
📌 작업 내용
기사님이 고객의 견적 요청을 반려하고 반려 사유 저장할 수 있는 API 구현
✅ 변경 사항
🧪 테스트
테스트 방법
** body:
{
"reason": "~이유로 반려합니다."
}
📷 스크린샷 (선택)
반려 전송 후

🔥 체크리스트
🙏 To Reviewer
Summary by CodeRabbit