[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.
This commit is contained in:
Kerwin 2022-11-27 15:08:30 +08:00 committed by zhuangchong
parent b7c994041e
commit 9e262a8771

View File

@ -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;
/**