This is an automated email from the ASF dual-hosted git repository.
kerwin pushed a commit to branch 3.1.2-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/3.1.2-prepare by this push:
new 9e262a8771 [Bug-12997][API] Fix that the end time is not reset when
the workflow instance reruns. (#12998)
9e262a8771 is described below
commit 9e262a87715120dcae364d82e3c8b4c1b7091acd
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 db08b2bd26..a30b0a150b 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;
/**