From cfabef661f1d1cb4b95ec49ec01066e0ec5035ce Mon Sep 17 00:00:00 2001 From: gulongcheng <474084054@qq.com> Date: Sat, 24 Jan 2026 17:52:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=89=B9=E9=87=8F=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E4=B8=8B=E7=9A=84=E6=99=AE=E9=80=9A=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/sdm/flowable/listener/GlobalStatusEventListener.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flowable/src/main/java/com/sdm/flowable/listener/GlobalStatusEventListener.java b/flowable/src/main/java/com/sdm/flowable/listener/GlobalStatusEventListener.java index 97d06d47..6b3ffb20 100644 --- a/flowable/src/main/java/com/sdm/flowable/listener/GlobalStatusEventListener.java +++ b/flowable/src/main/java/com/sdm/flowable/listener/GlobalStatusEventListener.java @@ -12,6 +12,7 @@ import org.flowable.engine.RuntimeService; import org.flowable.engine.impl.persistence.entity.ExecutionEntity; import org.flowable.job.api.Job; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.Lazy; import org.springframework.stereotype.Component; import java.util.Arrays; @@ -42,6 +43,7 @@ public class GlobalStatusEventListener implements FlowableEventListener { private ISimulationRunFeignClient simulationRunFeignClient; @Autowired + @Lazy private RuntimeService runtimeService; @Override