[ Refactor] - AI 월간 리포트 PDF 시각화 개선 - #218
Merged
Merged
Conversation
bigwaveBigwave
requested review from
KSBoscoKim,
Kimd0ng,
SOOsuhyuncho,
hanjyoon01 and
shinh09
August 22, 2026 14:42
12 tasks
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.
관련 이슈
Resolves: #217
배경
기존 이메일 첨부용 AI 월간 리포트 PDF는 텍스트와 표 중심으로 구성되어 있어 핵심 재무 상태와 소비·근무 성과를 한눈에 파악하기 어려웠습니다.
이번 PR에서는 기존 PDFBox 기반 생성 구조와 이메일 발송 계약을 유지하면서, 월간 재무 정보를 카드와 그래프 중심의 2페이지 PDF로 개선했습니다.
작업 사항
1페이지: 월간 재무 요약
2페이지: 근무 성과 및 금융상품 추천
디자인 및 렌더링
예외 처리
표시 문구 정리
상품 상세 키를 PDF에서 한글로 표시하도록 변경했습니다.
동적 잔여 필드로 중복 노출되던 Fixed Expense는 제거했습니다.
영향 범위
다음 계약은 변경하지 않았습니다.
테스트
PDF 전용 테스트
.\gradlew.bat :services:ai-service:test
--tests "com.ntropy.ai.service.AiReportPdfServiceTest"--no-daemon
결과:
BUILD SUCCESSFUL
5 tests passed
다음 항목을 검증했습니다.
WAR 빌드
.\gradlew.bat :api:war -x :api:test --no-daemon
결과:
BUILD SUCCESSFUL
참고: 전체 API 테스트
전체 api:test에서는 기존 develop의 다음 테스트 1건이 실패했습니다.
DiagnosisDefenseWiringTest
DefenseModeService 생성에 필요한 DiagnosisCommandClient 빈이 테스트 설정에 등록되지 않은 기존 wiring 문제입니다. 이번 PR에서 수정한 PDF 파일과 관련이 없으며, 이슈 #217 범위에서는
변경하지 않았습니다.
확인 사항