From 764d883b5ea3bdc06abbec548b6df0511e567978 Mon Sep 17 00:00:00 2001 From: linwe <872216996@qq.com> Date: Tue, 03 Sep 2024 09:46:05 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/binlog' into binlog --- src/main/java/org/springblade/flow/business/service/impl/FlowBusinessServiceImpl.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main/java/org/springblade/flow/business/service/impl/FlowBusinessServiceImpl.java b/src/main/java/org/springblade/flow/business/service/impl/FlowBusinessServiceImpl.java index 0db6bba..4066d07 100644 --- a/src/main/java/org/springblade/flow/business/service/impl/FlowBusinessServiceImpl.java +++ b/src/main/java/org/springblade/flow/business/service/impl/FlowBusinessServiceImpl.java @@ -17,6 +17,7 @@ package org.springblade.flow.business.service.impl; import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.core.toolkit.Wrappers; import lombok.AllArgsConstructor; import org.flowable.engine.HistoryService; import org.flowable.engine.TaskService; @@ -25,6 +26,7 @@ import org.flowable.task.api.TaskQuery; import org.flowable.task.api.history.HistoricTaskInstance; import org.flowable.task.api.history.HistoricTaskInstanceQuery; +import org.springblade.common.utils.SpringUtils; import org.springblade.core.secure.utils.AuthUtil; import org.springblade.core.tool.support.Kv; import org.springblade.core.tool.utils.Func; @@ -306,7 +308,6 @@ flow.setBusinessTable(businessKey[0]); flow.setBusinessId(businessKey[1]); } - FlowProcess processDefinition = FlowCache.getProcessDefinition(task.getProcessDefinitionId()); flow.setCategory(processDefinition.getCategory()); flow.setCategoryName(FlowCache.getCategoryName(processDefinition.getCategory())); -- Gitblit v1.9.3