diff --git a/backend/services/reporting-service/src/infrastructure/external/reward-service/reward-service.client.ts b/backend/services/reporting-service/src/infrastructure/external/reward-service/reward-service.client.ts index 73565245..151e5a67 100644 --- a/backend/services/reporting-service/src/infrastructure/external/reward-service/reward-service.client.ts +++ b/backend/services/reporting-service/src/infrastructure/external/reward-service/reward-service.client.ts @@ -70,9 +70,11 @@ export interface AllRewardTypeSummaries { } // [2026-01-06] 新增:收益记录条目 +// [2026-02-05] 更新:添加 sourceAccountSequence 字段 export interface RewardEntryDTO { id: string; accountSequence: string; + sourceAccountSequence: string | null; // 来源用户账户序列号 sourceOrderId: string; rightType: string; rewardStatus: string; diff --git a/backend/services/reward-service/src/application/services/reward-application.service.ts b/backend/services/reward-service/src/application/services/reward-application.service.ts index af7bb5b9..2bb0a8db 100644 --- a/backend/services/reward-service/src/application/services/reward-application.service.ts +++ b/backend/services/reward-service/src/application/services/reward-application.service.ts @@ -1333,6 +1333,7 @@ export class RewardApplicationService { entries: Array<{ id: string; accountSequence: string; + sourceAccountSequence: string | null; // [2026-02-05] 新增:来源用户账户序列号 sourceOrderId: string; rightType: string; rewardStatus: string; @@ -1376,6 +1377,8 @@ export class RewardApplicationService { entries: entries.map(entry => ({ id: entry.id.toString(), accountSequence: entry.accountSequence, + // [2026-02-05] 新增:返回来源用户的账户序列号 + sourceAccountSequence: entry.sourceAccountSequence ?? null, sourceOrderId: entry.sourceOrderNo, rightType: entry.rightType, rewardStatus: entry.rewardStatus, diff --git a/frontend/admin-web/src/components/features/system-account-report/SystemAccountsTab.tsx b/frontend/admin-web/src/components/features/system-account-report/SystemAccountsTab.tsx index ccc25696..16f26ca0 100644 --- a/frontend/admin-web/src/components/features/system-account-report/SystemAccountsTab.tsx +++ b/frontend/admin-web/src/components/features/system-account-report/SystemAccountsTab.tsx @@ -1600,6 +1600,8 @@ function RewardTypeSummarySection({