diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/TeamHandleUserApplyExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/TeamHandleUserApplyExe.java index ba4235c5..7d401e5f 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/TeamHandleUserApplyExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/TeamHandleUserApplyExe.java @@ -14,6 +14,7 @@ import com.red.circle.other.infra.database.mongo.entity.team.team.TeamApplicatio 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.TeamMemberChangeRecordService; @@ -186,7 +187,7 @@ public class TeamHandleUserApplyExe { teamProfileService.decrCounterMember(process.getAssociateId()); teamMemberService.removeMemberByMemberId(process.getCreateUser()); - teamMemberTargetService.removeUserTarget(ZonedDateTimeAsiaRiyadhUtils.nowYearMonthToInt(), + teamMemberTargetService.removeUserTarget(TeamBillCycleUtils.getCalcBillBelong(), process.getCreateUser()); teamSalaryMqMessage.sendSalaryCount(Set.of(teamMember.getTeamId()));