fix
This commit is contained in:
@@ -247,7 +247,7 @@ public class IntentAgreementServiceImpl extends LineFlowService implements Inten
|
||||
if (!WorkflowSubStageStatusEnum.SIGN_INTENT_AGREEMENT_70.getCode().equals(lineInfo.getWorkflowSubStageStatus())) {
|
||||
throw new ServiceException(ErrorCodeEnum.LINE_STATUS_NOT_ALLOW_OPERATE);
|
||||
}
|
||||
if (Objects.isNull(lineInfo.getRegionId())){
|
||||
if (Objects.isNull(lineInfo.getRegionId())||lineInfo.getRegionId() == 0){
|
||||
throw new ServiceException(ErrorCodeEnum.LINE_REGION_NOT_EXIST);
|
||||
}
|
||||
lineInfo.setWorkflowStage(WorkflowStageEnum.STORE.getCode());
|
||||
|
||||
Reference in New Issue
Block a user