diff --git a/backend/services/authorization-service/src/infrastructure/external/referral-service.client.ts b/backend/services/authorization-service/src/infrastructure/external/referral-service.client.ts index 487f0f95..5674903b 100644 --- a/backend/services/authorization-service/src/infrastructure/external/referral-service.client.ts +++ b/backend/services/authorization-service/src/infrastructure/external/referral-service.client.ts @@ -47,9 +47,12 @@ class TeamStatisticsAdapter implements TeamStatistics { private readonly provinceCityDistribution: Record> | null, ) {} - /** 下级团队认种数(不包括自己) */ + /** 下级团队认种数(不包括自己) + * 注意:referral-service 返回的 totalTeamPlantingCount 已经是"下级团队认种数", + * 不包括自己的认种数,所以直接返回即可,不需要再减 selfPlantingCount + */ get subordinateTeamPlantingCount(): number { - return Math.max(0, this.totalTeamPlantingCount - this.selfPlantingCount); + return this.totalTeamPlantingCount; } getProvinceTeamCount(provinceCode: string): number {