fix submit

This commit is contained in:
guohb
2024-05-27 09:54:12 +08:00
parent f03c8c4c19
commit 6935302aa1

View File

@@ -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);
} }
//更改线索流程子状态为【待审核】 //更改线索流程子状态为【待审核】