feat(report): 월간 리포트 V2 도입 및 통합 조회 확장#165
Merged
Merged
Conversation
OpenAI 이미지 생성 클라이언트 및 요청/응답 DTO 추가, 월간 리포트 이미지 스토리지 연동 로직 추가, MonthlyReportTxService/GenerationListener에 이미지 생성 흐름 반영
coldsunn
reviewed
May 17, 2026
Collaborator
coldsunn
left a comment
There was a problem hiding this comment.
코멘트 남겼습니다! 그리고 api를 v2로 사용하면서 다른 테이블을 사용하게 되었는데 앱에서 알림에 같이 보내고 있는 targetId를 사용해서 알림을 클릭했을 때 v1 api를 사용해서 화면을 띄운다면 배포 후부터 보내는 targetId가 새로운 테이블 ID여서 업데이트를 하지 않은 버전에서 알림을 받으면 v1 api를 써서 작동을 안 할 것 같습니다. 이 부분 프론트엔드 분께 전달드리고 조치할 게 있으면 해야될 듯합니다.
근데 아마 월간 리포트 알림 열 때 targetId 안 쓰시는거 같긴한디...(이게 제일 베스트)
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.
📝 요약(Summary)
기존 월간 리포트(V1) 흐름과 별도로
MonthlyReportV2생성/저장/조회 파이프라인을 도입하고,관심사 통계 추가 및 전체 리포트(주간+월간) 통합 조회 기능을 확장했습니다.
1. 월간 리포트 V2 도메인/스키마 신설
monthly_reports_v2테이블 생성MonthlyReportV2,MonthlyReportV2ContentMonthlyReportV2RepositoryMonthlyReportComparisonType,MonthlyReportImageStatusMonthlyReportV2ContentFactoryMonthlyContentFactoryV20260512_1400__IS_create_monthly_reports_v2_table.sqlV20260515_1710__IS_add_interest_stats_to_monthly_reports_v2.sql2. 월간 리포트 V2 생성 파이프라인 구축
OpenAiImageClientMonthlyReportImageStorageMonthlyReportGenerationRequestedEventDtoMonthlyReportTxService, PendingMonthlyReportService,MonthlyReportGenerationListener3. 감정/관심사 통계 연동
InterestStatsContentInterestStatsCountDtoMonthlyInterestStatsCalculatorMonthlyQueryRepository에 월간 관심사 집계 쿼리 추가confirmMonthlyText및updateContentSQL에 interest_stats 저장 로직 반영4. V2 조회 API 및 응답 모델 확장
MonthlyReportControllerV2추가 및 조회/생성 엔드포인트 분리MonthlyReportQueryServiceV2구현MonthlyReportResponseV25. 전체 리포트 통합 조회 API 추가
GET /api/v2/monthly-report/allAllReportItemResponseV2 (id, type, period, summary, version)type=ALL|MONTHLY|WEEKLY(기본 ALL)ReportListTypeV2추가🔗 Related Issue
💬 공유사항
✅ PR Checklist
PR이 다음 요구 사항을 충족하는지 확인하세요.