Skip to content

Commit

Permalink
[fix]: fix trigger type default value
Browse files Browse the repository at this point in the history
  • Loading branch information
lgt1126 committed Nov 15, 2021
1 parent 48524e3 commit e50ebb0
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import lombok.Setter;
import org.apache.commons.lang.StringUtils;

import javax.validation.Valid;
import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
Expand Down Expand Up @@ -38,7 +37,7 @@ public class MultipleDeviceEventRule {
// 表达式列表
private List<Expression> expList;

private String expLogic="and"; // and or
private String expLogic = "and"; // and or

private String remark;

Expand All @@ -59,7 +58,7 @@ public class MultipleDeviceEventRule {
private String scheduleConf;

@NotNull
private Integer triggerType;
private Integer triggerType = 0;

private Integer taskId;

Expand Down

0 comments on commit e50ebb0

Please sign in to comment.