From 24d372c81940530b5a060719074216332cdbeeb5 Mon Sep 17 00:00:00 2001 From: smallchill Date: Tue, 7 Dec 2021 11:31:10 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E6=B5=81=E7=A8=8B=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=90=8D=E7=A7=B0=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../flow/business/service/impl/FlowBusinessServiceImpl.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/blade-ops/blade-flow/src/main/java/org/springblade/flow/business/service/impl/FlowBusinessServiceImpl.java b/blade-ops/blade-flow/src/main/java/org/springblade/flow/business/service/impl/FlowBusinessServiceImpl.java index 9ef02fbc..b96e2926 100644 --- a/blade-ops/blade-flow/src/main/java/org/springblade/flow/business/service/impl/FlowBusinessServiceImpl.java +++ b/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) { historyQuery.processDefinitionCategory(bladeFlow.getCategory()); } + if (bladeFlow.getProcessDefinitionName() != null) { + historyQuery.processDefinitionName(bladeFlow.getProcessDefinitionName()); + } if (bladeFlow.getBeginDate() != null) { historyQuery.startedAfter(bladeFlow.getBeginDate()); } @@ -190,6 +193,9 @@ public class FlowBusinessServiceImpl implements FlowBusinessService { if (bladeFlow.getCategory() != null) { doneQuery.processCategoryIn(Func.toStrList(bladeFlow.getCategory())); } + if (bladeFlow.getProcessDefinitionName() != null) { + doneQuery.processDefinitionName(bladeFlow.getProcessDefinitionName()); + } if (bladeFlow.getBeginDate() != null) { doneQuery.taskCompletedAfter(bladeFlow.getBeginDate()); }