浏览代码

在LiteflowResponse方法中增加getExecuteStepWithTime方法

everywhere.z 2 年之前
父节点
当前提交
fef5ec0a7b
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      liteflow-core/src/main/java/com/yomahub/liteflow/flow/LiteflowResponse.java

+ 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(){