From d96427842163d9f2539576b737e38c2cc49ff87b Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期四, 18 七月 2024 15:10:19 +0800
Subject: [PATCH] 对接接口调整
---
ycl-pojo/src/main/java/com/ycl/platform/domain/form/VideoThresholdForm.java | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/form/VideoThresholdForm.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/form/VideoThresholdForm.java
index 469e923..bdb6b36 100644
--- a/ycl-pojo/src/main/java/com/ycl/platform/domain/form/VideoThresholdForm.java
+++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/form/VideoThresholdForm.java
@@ -5,6 +5,7 @@
import enumeration.general.BusinessTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
+import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
@@ -23,28 +24,28 @@
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "id,淇敼蹇呬紶", required = false)
- @NotBlank(message = "璇烽�夋嫨淇敼鏁版嵁")
- private String id;
+ @NotNull(message = "璇烽�夋嫨淇敼鏁版嵁")
+ private Integer id;
- @NotBlank(message = "璇烽�夋嫨璁惧绫诲瀷")
+ @NotEmpty(message = "璇烽�夋嫨璁惧绫诲瀷")
private BusinessTypeEnum monitorType;
/** 瑙嗛璐ㄩ噺 */
@NotBlank(message = "璇烽�夋嫨瑙嗛璐ㄩ噺宸ュ崟闃堝��")
private String videoQuality;
- @NotBlank(message = "璇烽�夋嫨瑙嗛璐ㄩ噺涓嬪彂闃堝��")
+// @NotBlank(message = "璇烽�夋嫨瑙嗛璐ㄩ噺涓嬪彂闃堝��")
private String videoQualityAuto;
/** 鍥惧儚璐ㄩ噺 */
@NotBlank(message = "璇烽�夋嫨鍥惧儚璐ㄩ噺宸ュ崟闃堝��")
private String imageQuality;
- @NotBlank(message = "璇烽�夋嫨鍥惧儚璐ㄩ噺涓嬪彂闃堝��")
+// @NotBlank(message = "璇烽�夋嫨鍥惧儚璐ㄩ噺涓嬪彂闃堝��")
private String imageQualityAuto;
/** 鏍囨敞鍑嗙‘鐜� */
- @NotBlank(message = "璇峰~鍐欐爣娉ㄥ噯纭巼宸ュ崟闃堝��")
+ @NotNull(message = "璇峰~鍐欐爣娉ㄥ噯纭巼宸ュ崟闃堝��")
private BigDecimal annotationAccuracy;
- @NotBlank(message = "璇峰~鍐欐爣娉ㄥ噯纭巼涓嬪彂闃堝��")
+// @NotBlank(message = "璇峰~鍐欐爣娉ㄥ噯纭巼涓嬪彂闃堝��")
private BigDecimal annotationAccuracyAuto;
}
--
Gitblit v1.8.0