This commit is contained in:
shuo.wang
2025-04-10 16:34:35 +08:00
parent 7a47e35104
commit d07e5ebe80

View File

@@ -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());