feat://V3.0 调整为加盟合同开始之后 直接开启 但是有部分已经到了待分配运营顾问 需要校验数据 如果证照没有开始 就说明是这类数据 就初始化

This commit is contained in:
suzhuhong
2026-05-12 16:01:42 +08:00
parent 0d65a1c4e9
commit 3c52808fc5

View File

@@ -763,15 +763,14 @@ public class SignFranchiseServiceImpl implements SignFranchiseService, AuditResu
operationsConsultantAssignDO.setAssignStatus(0);
operationsConsultantAssignDO.setRegionId(shopInfoDO.getRegionId());
operationsConsultantAssignDAO.addOperationsConsultantAssign(operationsConsultantAssignDO);
//分配之后 开始以下阶段
preparationService.contractAndBuildStoreCompletion(request.getShopId());
} else {
//其他品牌直接开始 且将招商经理给到运营经理
shopInfoDO.setOperationsConsultant(shopInfoDO.getInvestmentManager());
shopInfoDAO.updateShopInfo(shopInfoDO);
preparationService.contractAndBuildStoreCompletion(request.getShopId());
}
//分配之后 开始以下阶段
preparationService.contractAndBuildStoreCompletion(request.getShopId());
Boolean sendNotice = Boolean.TRUE;
commonService.sendSms(lineInfoDO.getMobile(), SMSMsgEnum.SIGN_CONTRACT);
if (sendNotice) {
@@ -1014,6 +1013,11 @@ public class SignFranchiseServiceImpl implements SignFranchiseService, AuditResu
shopInfo.setOperationsConsultant(request.getOperationConsultantUserId());
shopInfoDAO.updateShopInfo(shopInfo);
//V3.0 调整为加盟合同开始之后 直接开启 但是有部分已经到了待分配运营顾问 需要校验数据 如果证照没有开始 就说明是这类数据 就初始化
ShopStageInfoDO shopSubStageInfo = shopStageInfoDAO.getShopSubStageInfo(shopInfo.getId(), ShopSubStageEnum.SHOP_STAGE_3);
if (SHOP_SUB_STAGE_STATUS_00.getShopSubStageStatus().equals(shopSubStageInfo.getShopSubStageStatus())){
preparationService.contractAndBuildStoreCompletion(request.getShopId());
}
// 推送红圈通
if (StringUtils.isBlank(shopInfo.getHqtShopId())) {