From ad69f67c4acedf431bf2c5c03eb231eb7a31a025 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Tue, 28 Oct 2025 16:10:36 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=88=90=E5=91=98=20?= =?UTF-8?q?=E5=B7=A5=E8=B5=84=E7=BB=93=E7=AE=97=E6=97=A5=E6=9C=9F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../infra/common/team/decay/TeamMemberRemoveDecay.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/common/team/decay/TeamMemberRemoveDecay.java b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/common/team/decay/TeamMemberRemoveDecay.java index cf010325..aad8950d 100644 --- a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/common/team/decay/TeamMemberRemoveDecay.java +++ b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/common/team/decay/TeamMemberRemoveDecay.java @@ -15,6 +15,7 @@ import com.red.circle.other.infra.database.mongo.entity.team.team.TeamImportance import com.red.circle.other.infra.database.mongo.entity.team.team.TeamMember; import com.red.circle.other.infra.database.mongo.service.activity.ActivityAgentAnchorCountService; import com.red.circle.other.infra.database.mongo.service.activity.AgentActivityCountService; +import com.red.circle.other.infra.database.mongo.service.team.TeamBillCycleUtils; import com.red.circle.other.infra.database.mongo.service.team.team.TeamApplicationProcessApprovalService; import com.red.circle.other.infra.database.mongo.service.team.team.TeamApplicationProcessService; import com.red.circle.other.infra.database.mongo.service.team.team.TeamImportanceLogService; @@ -113,7 +114,7 @@ public class TeamMemberRemoveDecay { .setCreateUserOrigin(1) ); - teamMemberTargetService.removeUserTarget(ZonedDateTimeAsiaRiyadhUtils.nowYearMonthToInt(), + teamMemberTargetService.removeUserTarget(TeamBillCycleUtils.getCalcBillBelong(), teamMember.getMemberId()); teamMemberChangeRecordService.add(teamMember.getSysOrigin(), teamMember.getMemberId(), 1, @@ -124,8 +125,8 @@ public class TeamMemberRemoveDecay { sendTeamSalaryCountMq(Set.of(teamMember.getTeamId())); // 移除用户账单钻石余额 - billDiamondBalanceService.removeByUserId(teamMember.getMemberId(), ZonedDateTimeAsiaRiyadhUtils.nowYearMonthToInt()); - billDiamondBalanceDetailsService.removeByUserId(teamMember.getMemberId(), ZonedDateTimeAsiaRiyadhUtils.nowYearMonthToInt()); + billDiamondBalanceService.removeByUserId(teamMember.getMemberId(), TeamBillCycleUtils.getCalcBillBelong()); + billDiamondBalanceDetailsService.removeByUserId(teamMember.getMemberId(), TeamBillCycleUtils.getCalcBillBelong()); }); if (CollectionUtils.isNotEmpty(approvals)) {