Browse Source

流程列表增加名称查询

test
smallchill 3 years ago
parent
commit
24d372c819
  1. 6
      blade-ops/blade-flow/src/main/java/org/springblade/flow/business/service/impl/FlowBusinessServiceImpl.java

6
blade-ops/blade-flow/src/main/java/org/springblade/flow/business/service/impl/FlowBusinessServiceImpl.java

@ -120,6 +120,9 @@ public class FlowBusinessServiceImpl implements FlowBusinessService {
if (bladeFlow.getCategory() != null) { if (bladeFlow.getCategory() != null) {
historyQuery.processDefinitionCategory(bladeFlow.getCategory()); historyQuery.processDefinitionCategory(bladeFlow.getCategory());
} }
if (bladeFlow.getProcessDefinitionName() != null) {
historyQuery.processDefinitionName(bladeFlow.getProcessDefinitionName());
}
if (bladeFlow.getBeginDate() != null) { if (bladeFlow.getBeginDate() != null) {
historyQuery.startedAfter(bladeFlow.getBeginDate()); historyQuery.startedAfter(bladeFlow.getBeginDate());
} }
@ -190,6 +193,9 @@ public class FlowBusinessServiceImpl implements FlowBusinessService {
if (bladeFlow.getCategory() != null) { if (bladeFlow.getCategory() != null) {
doneQuery.processCategoryIn(Func.toStrList(bladeFlow.getCategory())); doneQuery.processCategoryIn(Func.toStrList(bladeFlow.getCategory()));
} }
if (bladeFlow.getProcessDefinitionName() != null) {
doneQuery.processDefinitionName(bladeFlow.getProcessDefinitionName());
}
if (bladeFlow.getBeginDate() != null) { if (bladeFlow.getBeginDate() != null) {
doneQuery.taskCompletedAfter(bladeFlow.getBeginDate()); doneQuery.taskCompletedAfter(bladeFlow.getBeginDate());
} }

Loading…
Cancel
Save