主播自己退出导致没有目标问题修复

This commit is contained in:
tianfeng 2025-12-19 17:43:59 +08:00
parent a184773aaf
commit 16c16e0059

View File

@ -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()));