feat://V3.0 调整为加盟合同开始之后 直接开启 但是有部分已经到了待分配运营顾问 需要校验数据 如果证照没有开始 就说明是这类数据 就初始化
This commit is contained in:
@@ -763,15 +763,14 @@ public class SignFranchiseServiceImpl implements SignFranchiseService, AuditResu
|
|||||||
operationsConsultantAssignDO.setAssignStatus(0);
|
operationsConsultantAssignDO.setAssignStatus(0);
|
||||||
operationsConsultantAssignDO.setRegionId(shopInfoDO.getRegionId());
|
operationsConsultantAssignDO.setRegionId(shopInfoDO.getRegionId());
|
||||||
operationsConsultantAssignDAO.addOperationsConsultantAssign(operationsConsultantAssignDO);
|
operationsConsultantAssignDAO.addOperationsConsultantAssign(operationsConsultantAssignDO);
|
||||||
|
//分配之后 开始以下阶段
|
||||||
|
preparationService.contractAndBuildStoreCompletion(request.getShopId());
|
||||||
} else {
|
} else {
|
||||||
//其他品牌直接开始 且将招商经理给到运营经理
|
//其他品牌直接开始 且将招商经理给到运营经理
|
||||||
shopInfoDO.setOperationsConsultant(shopInfoDO.getInvestmentManager());
|
shopInfoDO.setOperationsConsultant(shopInfoDO.getInvestmentManager());
|
||||||
shopInfoDAO.updateShopInfo(shopInfoDO);
|
shopInfoDAO.updateShopInfo(shopInfoDO);
|
||||||
preparationService.contractAndBuildStoreCompletion(request.getShopId());
|
preparationService.contractAndBuildStoreCompletion(request.getShopId());
|
||||||
}
|
}
|
||||||
//分配之后 开始以下阶段
|
|
||||||
preparationService.contractAndBuildStoreCompletion(request.getShopId());
|
|
||||||
|
|
||||||
Boolean sendNotice = Boolean.TRUE;
|
Boolean sendNotice = Boolean.TRUE;
|
||||||
commonService.sendSms(lineInfoDO.getMobile(), SMSMsgEnum.SIGN_CONTRACT);
|
commonService.sendSms(lineInfoDO.getMobile(), SMSMsgEnum.SIGN_CONTRACT);
|
||||||
if (sendNotice) {
|
if (sendNotice) {
|
||||||
@@ -1014,6 +1013,11 @@ public class SignFranchiseServiceImpl implements SignFranchiseService, AuditResu
|
|||||||
shopInfo.setOperationsConsultant(request.getOperationConsultantUserId());
|
shopInfo.setOperationsConsultant(request.getOperationConsultantUserId());
|
||||||
shopInfoDAO.updateShopInfo(shopInfo);
|
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())) {
|
if (StringUtils.isBlank(shopInfo.getHqtShopId())) {
|
||||||
|
|||||||
Reference in New Issue
Block a user