Prechádzať zdrojové kódy

在LiteflowResponse方法中增加getExecuteStepWithTime方法

everywhere.z 2 rokov pred
rodič
commit
fef5ec0a7b

+ 5 - 1
liteflow-core/src/main/java/com/yomahub/liteflow/flow/LiteflowResponse.java

@@ -111,7 +111,11 @@ public class LiteflowResponse implements Serializable {
     }
 
     public String getExecuteStepStr(){
-        return this.getSlot().getExecuteStepStr();
+        return getExecuteStepStrWithoutTime();
+    }
+
+    public String getExecuteStepStrWithTime(){
+        return this.getSlot().getExecuteStepStr(true);
     }
 
     public String getExecuteStepStrWithoutTime(){