检测计划相关功能代码-补充
This commit is contained in:
@@ -213,12 +213,15 @@ public class PqDevParam {
|
||||
@Data
|
||||
public static class BindPlanParam {
|
||||
@ApiModelProperty("检测计划ID")
|
||||
@NotNull(message = DetectionValidMessage.PLAN_ID_NOT_NULL)
|
||||
@NotBlank(message = DetectionValidMessage.PLAN_ID_NOT_BLANK)
|
||||
@Pattern(regexp = PatternRegex.SYSTEM_ID, message = DetectionValidMessage.PLAN_ID_FORMAT_ERROR)
|
||||
private String planId;
|
||||
|
||||
@ApiModelProperty("被检设备ID列表")
|
||||
@NotNull(message = DetectionValidMessage.PQ_DEV_IDS_NOT_NULL)
|
||||
private List<String> devIds;
|
||||
|
||||
@ApiModelProperty("0-解绑、1-绑定")
|
||||
private Integer bindFlag;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ public class PreDetection {
|
||||
/**
|
||||
* 监测点线路号
|
||||
*/
|
||||
@JSONField(name = "pt") //todo 是否改为ct
|
||||
@JSONField(name = "ct") //todo 是否改为ct
|
||||
private Integer ct;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user