[Fix-13972][dao] set default value for command (#14612)

This commit is contained in:
eye-gu 2023-08-14 09:53:26 +08:00 committed by GitHub
parent cb55476235
commit dde45dbdfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -61,9 +61,11 @@ public class Command {
private String commandParam;
@TableField("task_depend_type")
@Builder.Default
private TaskDependType taskDependType = TaskDependType.TASK_POST;
@TableField("failure_strategy")
@Builder.Default
private FailureStrategy failureStrategy = FailureStrategy.CONTINUE;
@TableField("warning_type")
@ -82,6 +84,7 @@ public class Command {
private Priority processInstancePriority;
@TableField("update_time")
@Builder.Default
private Date updateTime = new Date();
@TableField("worker_group")