fix submit
This commit is contained in:
@@ -63,7 +63,7 @@ public class JoinIntentionServiceImpl extends LineFlowService implements JoinInt
|
|||||||
throw new ServiceException(ErrorCodeEnum.PARAMS_REQUIRED);
|
throw new ServiceException(ErrorCodeEnum.PARAMS_REQUIRED);
|
||||||
}
|
}
|
||||||
LineInfoDO lineInfoDO = lineInfoMapper.getByLineId(request.getLineId());
|
LineInfoDO lineInfoDO = lineInfoMapper.getByLineId(request.getLineId());
|
||||||
if (!Objects.isNull(lineInfoDO)&&!WorkflowSubStageStatusEnum.INTENT_0.getCode().equals(lineInfoDO.getWorkflowSubStageStatus())) {
|
if (!Objects.isNull(lineInfoDO) && WorkflowSubStageStatusEnum.INTENT_5.getCode().equals(lineInfoDO.getWorkflowSubStageStatus())) {
|
||||||
throw new ServiceException(ErrorCodeEnum.INTENT_PASS);
|
throw new ServiceException(ErrorCodeEnum.INTENT_PASS);
|
||||||
}
|
}
|
||||||
//更改线索流程子状态为【待审核】
|
//更改线索流程子状态为【待审核】
|
||||||
@@ -87,14 +87,14 @@ public class JoinIntentionServiceImpl extends LineFlowService implements JoinInt
|
|||||||
joinIntentionMapper.insertOrUpdate(memberQuestionDO);
|
joinIntentionMapper.insertOrUpdate(memberQuestionDO);
|
||||||
|
|
||||||
Map<String, String> requestMap = new HashMap<>();
|
Map<String, String> requestMap = new HashMap<>();
|
||||||
requestMap.put("partnerUsername",lineInfoParam.getUsername());
|
requestMap.put("partnerUsername", lineInfoParam.getUsername());
|
||||||
requestMap.put("partnerMobile",lineInfoParam.getMobile());
|
requestMap.put("partnerMobile", lineInfoParam.getMobile());
|
||||||
requestMap.put("lineId",String.valueOf(lineInfoParam.getId()));
|
requestMap.put("lineId", String.valueOf(lineInfoParam.getId()));
|
||||||
HyOpenAreaInfoDO openAreaInfoDO = openAreaInfoMapper.selectById(lineInfoParam.getWantShopAreaId());
|
HyOpenAreaInfoDO openAreaInfoDO = openAreaInfoMapper.selectById(lineInfoParam.getWantShopAreaId());
|
||||||
requestMap.put("regionName",openAreaInfoDO.getAreaName());
|
requestMap.put("regionName", openAreaInfoDO.getAreaName());
|
||||||
commonService.sendMessage(Collections.singletonList(lineInfoParam.getInvestmentManager()),
|
commonService.sendMessage(Collections.singletonList(lineInfoParam.getInvestmentManager()),
|
||||||
MessageEnum.MESSAGE_29,
|
MessageEnum.MESSAGE_29,
|
||||||
requestMap);
|
requestMap);
|
||||||
return Boolean.TRUE;
|
return Boolean.TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -106,7 +106,7 @@ public class JoinIntentionServiceImpl extends LineFlowService implements JoinInt
|
|||||||
lineInfoDAO.updateWorkflowStage(lineInfo.getId(), nextStage, nextStage.getInitStatus(), userId);
|
lineInfoDAO.updateWorkflowStage(lineInfo.getId(), nextStage, nextStage.getInitStatus(), userId);
|
||||||
//更新加盟问卷信息
|
//更新加盟问卷信息
|
||||||
joinIntentionMapper.updateAuditIdByLineId(auditId, lineInfo.getId());
|
joinIntentionMapper.updateAuditIdByLineId(auditId, lineInfo.getId());
|
||||||
commonService.sendSms(lineInfo.getMobile(),SMSMsgEnum.INTERVIEW_APPOINTMENT_SUCCESS);
|
commonService.sendSms(lineInfo.getMobile(), SMSMsgEnum.INTERVIEW_APPOINTMENT_SUCCESS);
|
||||||
return Boolean.TRUE;
|
return Boolean.TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user