|
@@ -56,6 +56,9 @@ public class FlowExampleServiceImpl extends ServiceImpl<FlowExampleMapper, FlowE
|
|
@Override
|
|
@Override
|
|
public List<FlowInfo> getFlowType() {
|
|
public List<FlowInfo> getFlowType() {
|
|
List<Long> flowInofIdList = flowDefinitionService.getDistinctList(FlowDefinition::getFlowInfoId);
|
|
List<Long> flowInofIdList = flowDefinitionService.getDistinctList(FlowDefinition::getFlowInfoId);
|
|
|
|
+ if (flowInofIdList.size() == 0) {
|
|
|
|
+ return new ArrayList<>();
|
|
|
|
+ }
|
|
return flowInfoService.listByIds(flowInofIdList);
|
|
return flowInfoService.listByIds(flowInofIdList);
|
|
}
|
|
}
|
|
|
|
|