策略bug修改
This commit is contained in:
@@ -20,7 +20,7 @@ public enum ProcessResponseEnum {
|
||||
PROCESS_ERROR("A00553","当前流程未审核通过,操作失败!"),
|
||||
QUERY_IS_EMPTY("A00554","当前未查询到当前策略信息,无法删除!"),
|
||||
ENABLED_CANNOT_BE_DELETED("A00555","策略为启用状态不能删除!"),
|
||||
THERE_IS_ONLY_ONE_STRATEGY("A00556","自动策略或手动策略,通用策略只能有一条!"),
|
||||
THERE_IS_ONLY_ONE_STRATEGY("A00556","各个策略等级,通用策略只能有一条!"),
|
||||
;
|
||||
|
||||
private final String code;
|
||||
|
||||
@@ -116,6 +116,10 @@ public class StrategyParam {
|
||||
@NotNull(message = "策略选择不能为空")
|
||||
private Integer bigType;
|
||||
|
||||
@ApiModelProperty(value = "区分预警单还是告警单(0:预警单;1:告警单)")
|
||||
@NotNull(message = "区分类别不能为空")
|
||||
private Integer type;
|
||||
|
||||
@ApiModelProperty(value = "等级(0:一级;1:二级;2:三级)")
|
||||
@NotNull(message = "等级不能为空")
|
||||
private Integer grade;
|
||||
|
||||
@@ -53,7 +53,6 @@ public class ThsWarnStrategy extends BaseEntity implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "0.删除 1.启用 2.关闭")
|
||||
@TableField("State")
|
||||
@TableLogic(value = "1",delval = "0")
|
||||
private Integer state;
|
||||
|
||||
@TableField("Create_By")
|
||||
|
||||
Reference in New Issue
Block a user