Skip to content

Commit

Permalink
[Fix-13972][dao] set default value for command
Browse files Browse the repository at this point in the history
  • Loading branch information
eye authored and ruanwenjun committed Aug 9, 2023
1 parent 7c37a7f commit 7ced8b7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -82,6 +84,7 @@ public class Command {
private Priority processInstancePriority;

@TableField("update_time")
@Builder.Default
private Date updateTime = new Date();

@TableField("worker_group")
Expand Down

0 comments on commit 7ced8b7

Please sign in to comment.