Browse Source

升级 flowlong 0.0.8

hubin 1 năm trước cách đây
mục cha
commit
de754ed1c2

+ 1 - 1
build.gradle

@@ -31,7 +31,7 @@ buildscript {
     ext {
         springBootVersion = "3.1.1"
         springdocVersion = "2.5.0"
-        flowlongVersion = "0.0.7"
+        flowlongVersion = "0.0.8"
         aizudaVersion = "1.0.3"
     }
 

+ 1 - 1
pom.xml

@@ -120,7 +120,7 @@
 		<dependency>
 			<groupId>com.aizuda</groupId>
 			<artifactId>flowlong-spring-boot-starter</artifactId>
-			<version>0.0.7</version>
+			<version>0.0.8</version>
 		</dependency>
 
 		<!-- 服务监听 -->

+ 3 - 3
src/main/java/com/aizuda/boot/modules/flw/flow/FlowConditionArgsHandler.java → src/main/java/com/aizuda/boot/modules/flw/flow/FlowConditionNodeHandler.java

@@ -2,17 +2,17 @@ package com.aizuda.boot.modules.flw.flow;
 
 import com.aizuda.bpm.engine.core.Execution;
 import com.aizuda.bpm.engine.core.FlowLongContext;
-import com.aizuda.bpm.engine.handler.ConditionArgsHandler;
+import com.aizuda.bpm.engine.handler.impl.SimpleConditionNodeHandler;
 import com.aizuda.bpm.engine.model.NodeModel;
 import org.springframework.stereotype.Component;
 
 import java.util.Map;
 
 @Component
-public class FlowConditionArgsHandler implements ConditionArgsHandler {
+public class FlowConditionNodeHandler extends SimpleConditionNodeHandler {
 
     @Override
-    public Map<String, Object> handle(FlowLongContext flowLongContext, Execution execution, NodeModel nodeModel) {
+    public Map<String, Object> getArgs(FlowLongContext flowLongContext, Execution execution, NodeModel nodeModel) {
         return FlowForm.flowArgs(execution.getArgs());
     }
 }