Conversation
fix(family):가족공유데이터 api 실시간 기준 화면 값 일치화
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughChanges shift family shared pool calculations from monthly-based to actual/real-time semantics. Removes monthly-adjustment logic from DataServiceImpl, updates FamilySharedPoolsService to reconcile member usage with actual values, replaces public method naming (monthly→actual), and updates corresponding test expectations and acceptance test assertions. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant DataService as DataServiceImpl
participant SharedPoolService as FamilySharedPoolsService
participant TrafficService as TrafficRemainingBalanceQueryService
participant DB as Repository/Mapper
Client->>DataService: getDataUsage(lineId)
DataService->>SharedPoolService: resolveFamilyMemberActualDisplay(lineId)
SharedPoolService->>TrafficService: resolveSharedActualRemaining(familyId)
TrafficService->>DB: Query actual remaining balance
DB-->>TrafficService: actual remaining value
TrafficService-->>SharedPoolService: actual remaining
SharedPoolService->>DB: loadAdjustedFamilyMonthlySharedUsageByLine(...)
DB-->>SharedPoolService: member monthly usage list
SharedPoolService->>SharedPoolService: reconcileMemberActualSharedUsage(...)
Note over SharedPoolService: Reconcile per-member usage<br/>to match target used amount
SharedPoolService-->>DataService: display remaining amount
DataService-->>Client: data usage response
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip You can customize the high-level summary generated by CodeRabbit.Configure the |
개요
관련 BackLog
Resolves: (Backlog Number, ...)
PR 유형
PR Checklist
Summary by CodeRabbit
Release Notes