Skip to content

fix(report): 이전 리포트 목록 기준 시각을 분석 완료 시각으로 보정#195

Merged
1Seob merged 1 commit into
developfrom
fix/report-list-analyzed-at
Jul 11, 2026
Merged

fix(report): 이전 리포트 목록 기준 시각을 분석 완료 시각으로 보정#195
1Seob merged 1 commit into
developfrom
fix/report-list-analyzed-at

Conversation

@1Seob

@1Seob 1Seob commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

📝 요약(Summary)

  • GET /api/v2/monthly-report/all 응답의 createdAt 필드 값을 created_at이 아닌 analyzedAt 기준으로 보정
  • 실패 레코드 재사용 시 최초 생성 시각이 목록의 상대 시간 기준으로 노출되는 문제를 방지

주요 변경사항

  • 월간 V1, 월간 V2, 주간 리포트 목록 row 생성 시 getAnalyzedAt() 값을 createdAt 응답 필드에 매핑
  • createdAt 필드의 OpenAPI 설명을 “목록 표시 기준 시각(리포트 분석 완료 시각)”으로 수정
  • V1 MonthlyReport에 추가됐던 불필요한 CreatableEntity 상속 제거
  • 서비스 테스트에서 createdAt 응답값이 analyzedAt 기반인지 검증하도록 수정

검증

  • .\gradlew.bat compileJava
  • .\gradlew.bat test --tests "com.devkor.ifive.nadab.domain.monthlyreport.application.MonthlyReportQueryServiceV2Test"
  • git diff --check

참고 / 리스크

  • 응답 필드명은 클라이언트 계약을 유지하기 위해 createdAt 그대로 사용
  • 실제 값의 의미는 리포트 row 생성 시각이 아니라 분석 완료 시각

🔗 Related Issue

  • Closes:

💬 공유사항

✅ PR Checklist

PR이 다음 요구 사항을 충족하는지 확인하세요.

  • PR 제목을 커밋 메시지 컨벤션에 맞게 작성했습니다.

GET /api/v2/monthly-report/all 응답의 createdAt 필드명을 유지하되 값을 analyzedAt으로 매핑해 실패 레코드 재사용 시 최초 생성 시각이
노출되지 않도록 수정
@1Seob
1Seob merged commit 04726ee into develop Jul 11, 2026
1 check passed
@1Seob
1Seob deleted the fix/report-list-analyzed-at branch July 11, 2026 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant