Просмотр исходного кода

:zap: 修复流程名搜索失效的问题

smallchill 5 лет назад
Родитель
Сommit
ae4ba2ee1d

+ 3 - 0
src/main/java/org/springblade/flow/business/service/impl/FlowBusinessServiceImpl.java

@@ -274,6 +274,9 @@ public class FlowBusinessServiceImpl implements FlowBusinessService {
 		if (bladeFlow.getCategory() != null) {
 			taskQuery.processCategoryIn(Func.toStrList(bladeFlow.getCategory()));
 		}
+		if (bladeFlow.getProcessDefinitionName() != null) {
+			taskQuery.processDefinitionName(bladeFlow.getProcessDefinitionName());
+		}
 		if (bladeFlow.getBeginDate() != null) {
 			taskQuery.taskCreatedAfter(bladeFlow.getBeginDate());
 		}