待审核

This commit is contained in:
苏竹红
2024-05-28 10:26:57 +08:00
parent 888facba28
commit ecd5ae8e08

View File

@@ -63,7 +63,9 @@ public class JoinIntentionServiceImpl extends LineFlowService implements JoinInt
throw new ServiceException(ErrorCodeEnum.PARAMS_REQUIRED);
}
LineInfoDO lineInfoDO = lineInfoMapper.getByLineId(request.getLineId());
if (!Objects.isNull(lineInfoDO) && WorkflowSubStageStatusEnum.INTENT_5.getCode().equals(lineInfoDO.getWorkflowSubStageStatus())) {
log.info("lineInfoDO : {}", JSONObject.toJSONString(lineInfoDO));
if (!Objects.isNull(lineInfoDO) && (WorkflowSubStageStatusEnum.INTENT_5.getCode().equals(lineInfoDO.getWorkflowSubStageStatus())||
WorkflowSubStageEnum.INTEND.getCode()<lineInfoDO.getWorkflowStage())) {
throw new ServiceException(ErrorCodeEnum.INTENT_PASS);
}
//更改线索流程子状态为【待审核】