feat:修改状态
This commit is contained in:
@@ -347,6 +347,7 @@ public class SignFranchiseServiceImpl implements SignFranchiseService, AuditResu
|
|||||||
Map<String, String> requestMap = new HashMap<>();
|
Map<String, String> requestMap = new HashMap<>();
|
||||||
ShopInfoDO shopInfoDO = shopInfoMapper.selectByPrimaryKey(shopId);
|
ShopInfoDO shopInfoDO = shopInfoMapper.selectByPrimaryKey(shopId);
|
||||||
LineInfoDO lineInfo = lineInfoMapper.getByLineId(shopInfoDO.getLineId());
|
LineInfoDO lineInfo = lineInfoMapper.getByLineId(shopInfoDO.getLineId());
|
||||||
|
shopStageInfoDAO.updateShopStageInfo(shopId, shopSubStageStatusEnum);
|
||||||
Set<String> auditFranchiseFeeUsers = new HashSet<>();
|
Set<String> auditFranchiseFeeUsers = new HashSet<>();
|
||||||
List<EnterpriseUserDO> branchUser = userAuthMappingService.getAllUserByRoleEnumAndRegionId(UserRoleEnum.JOIN_OFFICE, shopInfoDO.getRegionId());
|
List<EnterpriseUserDO> branchUser = userAuthMappingService.getAllUserByRoleEnumAndRegionId(UserRoleEnum.JOIN_OFFICE, shopInfoDO.getRegionId());
|
||||||
if (Objects.nonNull(branchUser)) {
|
if (Objects.nonNull(branchUser)) {
|
||||||
@@ -373,6 +374,7 @@ public class SignFranchiseServiceImpl implements SignFranchiseService, AuditResu
|
|||||||
//暂时去掉
|
//暂时去掉
|
||||||
lineInfoDO.setJoinStatus(CommonConstants.TWO);
|
lineInfoDO.setJoinStatus(CommonConstants.TWO);
|
||||||
lineInfoMapper.insertOrUpdate(lineInfoDO);
|
lineInfoMapper.insertOrUpdate(lineInfoDO);
|
||||||
|
shopStageInfoDAO.updateShopStageInfo(shopId, shopSubStageStatusEnum);
|
||||||
//初始化数据
|
//初始化数据
|
||||||
preparationService.contractAndBuildStoreCompletion(request.getShopId());
|
preparationService.contractAndBuildStoreCompletion(request.getShopId());
|
||||||
commonService.sendSms(lineInfoDO.getMobile(), SMSMsgEnum.SIGN_CONTRACT);
|
commonService.sendSms(lineInfoDO.getMobile(), SMSMsgEnum.SIGN_CONTRACT);
|
||||||
@@ -395,7 +397,6 @@ public class SignFranchiseServiceImpl implements SignFranchiseService, AuditResu
|
|||||||
}
|
}
|
||||||
shopAuditInfoMapper.insertSelective(shopAuditInfoDO);
|
shopAuditInfoMapper.insertSelective(shopAuditInfoDO);
|
||||||
Long auditId = shopAuditInfoDO.getId();
|
Long auditId = shopAuditInfoDO.getId();
|
||||||
shopStageInfoDAO.updateShopStageAndAuditInfo(shopId, shopSubStageStatusEnum, auditId);
|
|
||||||
signFranchiseMapper.updateAuditByShopId(auditId, shopId);
|
signFranchiseMapper.updateAuditByShopId(auditId, shopId);
|
||||||
//审批记录表记录
|
//审批记录表记录
|
||||||
List<OperationLogDO> operationLogs = operationLogDAO.getBySubStageStatusEnumAndsStatus(request.getShopId(), ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_83, OperationTypeEnum.OPERATION_TYPE_1.getCode());
|
List<OperationLogDO> operationLogs = operationLogDAO.getBySubStageStatusEnumAndsStatus(request.getShopId(), ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_83, OperationTypeEnum.OPERATION_TYPE_1.getCode());
|
||||||
|
|||||||
Reference in New Issue
Block a user