From f6ff5d459f5149bc4b85b59b2dd7fb80efdc4838 Mon Sep 17 00:00:00 2001 From: yitonglei Date: Mon, 6 Mar 2023 16:05:14 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=87=AA=E5=8A=A8=E5=B7=A5=E5=8D=95=E9=9D=9E?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E4=BB=BB=E5=8A=A1=E4=BF=9D=E5=AD=98=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/springblade/plugin/listener/ProcessEndListener.java | 1 + lab-plugin/lab-workflow/src/main/resources/config.properties | 5 +++++ lab-service/lab-system/src/main/resources/config.properties | 5 +++++ 3 files changed, 11 insertions(+) create mode 100644 lab-plugin/lab-workflow/src/main/resources/config.properties create mode 100644 lab-service/lab-system/src/main/resources/config.properties diff --git a/lab-plugin/lab-workflow/src/main/java/org/springblade/plugin/listener/ProcessEndListener.java b/lab-plugin/lab-workflow/src/main/java/org/springblade/plugin/listener/ProcessEndListener.java index 504927d..184a6d7 100644 --- a/lab-plugin/lab-workflow/src/main/java/org/springblade/plugin/listener/ProcessEndListener.java +++ b/lab-plugin/lab-workflow/src/main/java/org/springblade/plugin/listener/ProcessEndListener.java @@ -28,6 +28,7 @@ public class ProcessEndListener implements ExecutionListener { String event = delegateExecution.getEventName(); String processInstanceId = delegateExecution.getProcessInstanceId(); Map variables = delegateExecution.getVariables(); + switch (event) { case "start" : IAutoStartModelService autoStartModelService = (IAutoStartModelService)SpringContextHolder.getBean(AutoStartModelServiceImpl.class); diff --git a/lab-plugin/lab-workflow/src/main/resources/config.properties b/lab-plugin/lab-workflow/src/main/resources/config.properties new file mode 100644 index 0000000..11cee05 --- /dev/null +++ b/lab-plugin/lab-workflow/src/main/resources/config.properties @@ -0,0 +1,5 @@ +#系统配置信息 +#认证配置 +domain=yw.com.cn +ssoKey=SSOToken +keeperUrl=http://localhost:8088/Keeper.aspx \ No newline at end of file diff --git a/lab-service/lab-system/src/main/resources/config.properties b/lab-service/lab-system/src/main/resources/config.properties new file mode 100644 index 0000000..11cee05 --- /dev/null +++ b/lab-service/lab-system/src/main/resources/config.properties @@ -0,0 +1,5 @@ +#系统配置信息 +#认证配置 +domain=yw.com.cn +ssoKey=SSOToken +keeperUrl=http://localhost:8088/Keeper.aspx \ No newline at end of file