[Task] 업무함 Case 조회를 위한 caseId 필터 추가 - #72
Merged
Merged
Conversation
krestar
approved these changes
Jul 31, 2026
krestar
left a comment
Contributor
There was a problem hiding this comment.
case_id 필터 연결이군요.
기존 사업장 범위 조건도 유지되어 테넌트 격리 문제는 없어 보입니다.
Contributor
Author
휴우 ... |
chaeliki
approved these changes
Jul 31, 2026
chaeliki
left a comment
Contributor
There was a problem hiding this comment.
확인했습니다! 기존 필터 패턴과 일관되게 잘 추가됐고, 타 사업장 격리 테스트까지 포함되어 있어 좋아용
hywznn
marked this pull request as ready for review
July 31, 2026 07:37
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.
왜 필요한가요?
Closes #71
업무함에서 같은 Case에 속한 Task만 조회해야 하지만, 기존 Task 목록 API는 worker·상태·기한 필터만 지원했습니다. 별도의 Case 테이블이나 신규 목록 API를 만들지 않고 현재 Task의
case_id를 재사용합니다.무엇이 바뀌나요?
GET /api/v1/tasks에 선택 쿼리case_id를 추가했습니다.case_id를 보내지 않으면 기존 목록 조회와 동일하게 동작합니다.case_id쿼리 계약을 추가했습니다.worker_id구조는 변경하지 않았습니다.확인
./gradlew test --tests 'com.fowoco.server.task.TaskWorkflowIntegrationTest' --tests 'com.fowoco.server.task.api.TaskOpenApiContractTest'./gradlew clean testBUILD SUCCESSFUL연계