From cbdcb828bd7ed3787990dceb65f3c6db7c806e16 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 13 八月 2024 09:40:51 +0800 Subject: [PATCH] 海康接口 --- ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/FaceDeviceInspectionResult.java | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/FaceDeviceInspectionResult.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/FaceDeviceInspectionResult.java index 6bf7b78..309d49c 100644 --- a/ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/FaceDeviceInspectionResult.java +++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/FaceDeviceInspectionResult.java @@ -2,45 +2,52 @@ import com.ycl.platform.domain.result.BaseResult; import lombok.Data; +import org.springframework.data.mongodb.core.index.TextIndexed; import org.springframework.data.mongodb.core.mapping.Document; /** - * 浜鸿劯璁惧鍏ㄦ鎸囨爣鐩戞祴缁撴灉锛�2.3.0鐗堟湰鏂板 + * 浜鸿劯璁惧鍏ㄦ鎸囨爣鐩戞祴缁撴灉锛氫汉鑴革紙璁惧鎶撴媿鍥剧墖鏃堕挓鍑嗙‘鎬э級 * * @author gonghl */ @Data -@Document(collection = "face_device_inspection") +@Document(collection = "hk_face_device_inspection") public class FaceDeviceInspectionResult extends BaseResult { /** * 璁惧鍚嶇О */ + @TextIndexed private String deviceName; /** * 璁惧缂栧彿 */ + @TextIndexed private String externalIndexCode; /** * 鍗″彛鍐呯爜鎴栭噰闆嗚澶囧唴鐮侊紝dataType涓�1鏃惰〃绀哄崱鍙e唴鐮侊紝dataType涓�2鎴�11鏃惰〃绀洪噰闆嗚澶囧唴鐮� */ + @TextIndexed private String indexCode; /** * IP鍦板潃 */ + @TextIndexed private String networkAddr; /** * 缁勭粐缂栧彿 */ + @TextIndexed private String orgCode; /** * 缁勭粐鍚嶇О */ + @TextIndexed private String orgName; /** -- Gitblit v1.8.0