zbj//1.系统配置操作出现两个已激活状态bug修改
This commit is contained in:
@@ -38,6 +38,7 @@ public enum SystemResponseEnum {
|
||||
MONITORY_TYPE_EMPTY("A00366","查询字典监测对象类型为空"),
|
||||
TERMINAL_WIRING_EMPTY("A00367","查询字典监测终端接线方式为空"),
|
||||
MONITOR_TYPE_EMPTY("A00368","查询字典监测点类别为空"),
|
||||
ACTIVATED_STATE("A00369","必须存在一个已激活的系统类型"),
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -45,6 +45,15 @@ public class ConfigParam {
|
||||
@ApiModelProperty("审计日志存储时间(1-6个月,默认3个月)")
|
||||
private Integer logTime;
|
||||
|
||||
/**
|
||||
* 系统类型
|
||||
*/
|
||||
@ApiModelProperty("激活状态:0-未激活;1-激活")
|
||||
@NotNull(message = "激活状态不可为空")
|
||||
@Max(value = 1)
|
||||
@Min(value = 0)
|
||||
private Integer state;
|
||||
|
||||
/**
|
||||
* 更新操作实体
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user