This is an automated email from the ASF dual-hosted git repository.

huajiang pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new f9a0ecbc81 [Bug-12997][API] Fix that the end time is not reset when 
the workflow instance reruns. (#12998)
f9a0ecbc81 is described below

commit f9a0ecbc81a5a63b4265983e41b05281db14b772
Author: Kerwin <[email protected]>
AuthorDate: Sun Nov 27 15:08:30 2022 +0800

    [Bug-12997][API] Fix that the end time is not reset when the workflow 
instance reruns. (#12998)
    
    * Fix that the end time is not reset when the workflow instance reruns.
---
 .../java/org/apache/dolphinscheduler/dao/entity/ProcessInstance.java    | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/ProcessInstance.java
 
b/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/ProcessInstance.java
index 6b83ef928b..741d21edbe 100644
--- 
a/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/ProcessInstance.java
+++ 
b/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/ProcessInstance.java
@@ -37,6 +37,7 @@ import lombok.AllArgsConstructor;
 import lombok.Data;
 import lombok.NoArgsConstructor;
 
+import com.baomidou.mybatisplus.annotation.FieldStrategy;
 import com.baomidou.mybatisplus.annotation.IdType;
 import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableId;
@@ -95,6 +96,7 @@ public class ProcessInstance {
     /**
      * end time
      */
+    @TableField(updateStrategy = FieldStrategy.IGNORED)
     private Date endTime;
 
     /**

Reply via email to