feat(111): Querydsl 기반 전자결재 필터 검색 및 상세 조회 구현#112
Open
jinhyeongpark wants to merge 12 commits intodevfrom
Open
Conversation
- BaseEntity 추가 - 문서종류, 기안부서, 날짜, 시퀀스로 이뤄진 문서번호 필드 추가
- '전체, 결재 진행, 참조/열람, 내 기안'으로 구분
- ApprovalCategory로 대분류 필터링 - ApprovalStatus로 상태 필터링 - 참여자 유형(열람, 참조)에 따른 필터링 - DocumentType에 따른 필터링 - 페이징을 위한 정보 필터링
- 결재라인에 있지 않은 유저들의 관점을 위함 - 결재 전이나 결재 대기가 아닌 결재가 진행 중임을 표현
- 전체(필터) 전자결재 조회 - 단일 전자결재 조회
- getCategoryExpression: 상위 필터(전체, 결재 진행, 참조문서, 내 작성) 구현 - getAllCategoryExpression: 유저의 권한(Role)이 ADMIN인 경우 결재선 혹은 참조/기안자가 아니더라도 전체 결재문서를 조회 - eqDocumentType: 문서 종류(DocumentType)에 따른 하위 필터 구현
- PK, 문서번호, 기안자, 제목, 상태, 결재라인, 기안일, 완료일로 구성
- HTML 내용, 결재선, 참조/열람자, 첨부파일 포함
- QueryDSL을 활용한 조건별 결재 목록 검색 기능 추가 - 상세 조회 시 사용자 권한(기안/결재/참조/열람) 기반 접근 제어 로직 적용 - 참조자(즉시) 및 열람권자(최종승인 후) 조회 시점 차등화 - S3 Presigned URL 기반 첨부파일 조회 연동
- 전체(필터)와 단일 조회에 대한 단위테스트 작성 - 문서 번호에 대한 포맷검증 추가
3 tasks
dbogym
reviewed
Feb 23, 2026
| public enum ApprovalCategory { | ||
| ALL("전체"), | ||
| IN_PROGRESS("결재 진행"), | ||
| REFERENCE("참조/열람"), |
Member
There was a problem hiding this comment.
피그마에 표기되어 있는 카테고리명이 달라서 .. 맞춰주시면 감사하겠습니다 !
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.
#️⃣연관된 이슈 번호
📝작업 내용
ApprovalQueryRepository를 통한 전체/진행/참조/내작성 카테고리별 다중 필터 검색 기능 추가default_batch_fetch_size를 활용한 N+1 문제 최적화 및 페이징 연동ApprovalService.getApprovalDetail에서 관리자/기안자/결재자/참조자별 조회 권한 로직 정교화ApprovalTest)🧪 테스트 여부
ApprovalTest.java단위 테스트 전체 통과💬리뷰 요구사항