[Case] 업무함 Case·Workflow Snapshot 조회 구현 - #88
Merged
Conversation
16 tasks
Contributor
Author
|
PR #88은 쉽게 말하면 여러 업무카드를 하나의 업무 묶음(Case)으로 보여주는 기능 |
hywznn
marked this pull request as ready for review
August 5, 2026 07:20
krestar
approved these changes
Aug 5, 2026
krestar
left a comment
Contributor
There was a problem hiding this comment.
Demo Document가 workerId + DocumentType 기준으로 관련 Task를 찾아 taskId를 저장하도록 변경된 점 확인했습니다.
기존 task_id = NULL 데이터의 재실행 보정과 JPA 반영, 통합 테스트까지 포함되어 있는 것도 확인했습니당.
Demo Seed 정합성 문제는 해결될 것 같네요
chaeliki
approved these changes
Aug 5, 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 변경
GET /api/v1/casesGET /api/v1/cases/{caseId}/projectionPOST /api/v1/tasks지정한 Case가 이미 존재하면 같은 근로자의 Case일 때만 재사용합니다. 다른 근로자의 Case를 지정하면
409 Conflict로 차단합니다.화면 표시 기준
DOCUMENT_PENDINGREQUEST_SENTREVIEW_REQUIREDCOMPLETEDCANCELLED현재 Task는 단순히 마감일이 빠른 Task가 아니라 다음 기준으로 선택합니다.
steps.orderdepends_on_task_id로 지정된 선행 Task 완료 여부DB·보안
V18:workflow_case와 Workflow Snapshot 저장 구조V19: PostgreSQL 전용pl_workflow_case_tenant_isolationRLS 정책404 Not Found처리case_id까지 정렬하여 페이지 이동 시 중복·누락 방지readiness로 제공데모 데이터 정합성
case_id를 실제workflow_case와 연결candidate_order, 승인 조건, 의존성, 누락 조건 저장REVIEW_REQUIRED이번 PR에서 하지 않는 일
POST /casesAPI는 만들지 않습니다.workflow_case사이의 DB FK 추가는 후속 migration으로 검토합니다.read_at도입 전까지 응답 존재 여부와NEEDS_FOLLOWUP상태를 함께 사용합니다.검증 결과
./gradlew clean test2 / 3404