Browse Source

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

3.2.1-prepare
eye-gu 1 year ago committed by GitHub
parent
commit
dde45dbdfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/Command.java

3
dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/Command.java

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

Loading…
Cancel
Save