过程监督代码提交

This commit is contained in:
wurui
2023-03-20 20:07:25 +08:00
parent c835733147
commit d3e0769a6e
7 changed files with 58 additions and 23 deletions

View File

@@ -21,11 +21,9 @@ public class GeneralSurveyParam extends IssuesParam {
private String substationId;
@ApiModelProperty(name = "busbarId",value = "母线ID")
@NotNull(message = "母线ID不可为空")
private String busbarId;
@ApiModelProperty(name = "measurementPointId",value = "监测点ID")
@NotNull(message = "监测点ID不可为空")
private String measurementPointId;
@ApiModelProperty(name = "steadyState",value = "稳态指标")

View File

@@ -36,6 +36,9 @@ public class StrategyParam {
@ApiModelProperty("名称")
private String name;
@ApiModelProperty("等级0一级1二级2三级")
private String grade;
@ApiModelProperty(value = "区分预警单/告警单0预警单 1告警单")
private Integer type;
}
@@ -72,8 +75,8 @@ public class StrategyParam {
private Integer operation;
@ApiModelProperty(value = "监测点标签")
@NotBlank(message = "监测点标签不能为空")
private String monitorTag;
@NotEmpty(message = "监测点标签集合不能为空")
private List<String> monitorTag;
@ApiModelProperty(value = "指标类型")
@NotEmpty(message = "指标类型集合不能为空")