|
@@ -169,6 +169,10 @@ public class FlowExampleServiceImpl extends ServiceImpl<FlowExampleMapper, FlowE
|
|
|
.eq(FlowDefinition::getFlowKey, dto.getFlowKey())
|
|
|
.eq(FlowDefinition::getCurrentVersion, StatusConstant.YES));
|
|
|
|
|
|
+ if (flowDefinition == null) {
|
|
|
+ throw new ServiceException("流程未配置,请联系管理员");
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
List<FlowDefinitionNode> flowDefinitionNodeList = flowDefinitionNodeService.list(
|
|
|
q -> q.eq(FlowDefinitionNode::getFlowDefinitionId, flowDefinition.getId()));
|