fix 提交意向申请,修改线上阶段
This commit is contained in:
@@ -35,7 +35,7 @@ public class JoinIntentionServiceImpl extends LineFlowService implements JoinInt
|
||||
JoinIntentionMapper joinIntentionMapper;
|
||||
|
||||
@Resource
|
||||
QualificationsInfoDAO qualificationsInfoDAO;
|
||||
QualificationsInfoDAO qualificationsInfoDAO;
|
||||
|
||||
@Resource
|
||||
LineInfoDAO lineInfoDAO;
|
||||
@@ -68,7 +68,7 @@ public class JoinIntentionServiceImpl extends LineFlowService implements JoinInt
|
||||
}
|
||||
LineInfoDO lineInfoDO = lineInfoMapper.getByLineId(request.getLineId());
|
||||
log.info("lineInfoDO : {}", JSONObject.toJSONString(lineInfoDO));
|
||||
if (!Objects.isNull(lineInfoDO) && (WorkflowSubStageEnum.INTEND.getCode()<lineInfoDO.getWorkflowSubStage())) {
|
||||
if (!Objects.isNull(lineInfoDO) && (WorkflowSubStageEnum.INTEND.getCode() < lineInfoDO.getWorkflowSubStage())) {
|
||||
throw new ServiceException(ErrorCodeEnum.INTENT_PASS);
|
||||
}
|
||||
//更改线索流程子状态为【待审核】
|
||||
@@ -80,13 +80,15 @@ public class JoinIntentionServiceImpl extends LineFlowService implements JoinInt
|
||||
// EnterpriseUserDO userByRoleNameAndAreaId = userAuthMappingService.getUserByRoleEnumAndWantShopAreaId(UserRoleEnum.SUPERVISION, Long.valueOf(request.getAreaCode()));
|
||||
// lineInfoParam.setInvestmentManager(userByRoleNameAndAreaId.getUserId());
|
||||
// }
|
||||
lineInfoParam.setLineStatus(0);
|
||||
if (StringUtils.isBlank(lineInfoDO.getInvestmentManager())) {
|
||||
lineInfoParam.setLineStatus(0);
|
||||
}
|
||||
//强加盟 前期不确定意向区域
|
||||
// if (lineInfoParam.getWantShopAreaId() != null&&lineInfoDO.getJoinMode()==1) {
|
||||
// Long regionId = regionAreaConfigDao.getByWantShopAreaId(lineInfoParam.getWantShopAreaId());
|
||||
// lineInfoParam.setRegionId(regionId);
|
||||
// }
|
||||
if (StringUtils.isBlank(lineInfoDO.getInvestmentManager())){
|
||||
if (StringUtils.isBlank(lineInfoDO.getInvestmentManager())) {
|
||||
lineInfoParam.setFranchiseBrand(String.valueOf(FranchiseBrandEnum.ZXJP.getCode()));
|
||||
}
|
||||
lineInfoDAO.insertOrUpdate(lineInfoParam);
|
||||
|
||||
Reference in New Issue
Block a user