检测计划相关功能代码-补充

This commit is contained in:
caozehui
2025-07-21 08:42:37 +08:00
parent 858fc9aa05
commit 95d5396759
20 changed files with 354 additions and 144 deletions

View File

@@ -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;
}
}

View File

@@ -103,7 +103,7 @@ public class PreDetection {
/**
* 监测点线路号
*/
@JSONField(name = "pt") //todo 是否改为ct
@JSONField(name = "ct") //todo 是否改为ct
private Integer ct;
}