From 7af792b0e548518e5116ecc88796cc288c968326 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期四, 08 八月 2024 10:46:26 +0800 Subject: [PATCH] mongo改为insertAll --- ycl-pojo/src/main/java/com/ycl/platform/domain/result/UY/OnlineResult.java | 108 +++++++++++++++++++++++++++++++++-------------------- 1 files changed, 67 insertions(+), 41 deletions(-) diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/result/UY/OnlineResult.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/result/UY/OnlineResult.java index dea9ceb..ac26459 100644 --- a/ycl-pojo/src/main/java/com/ycl/platform/domain/result/UY/OnlineResult.java +++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/result/UY/OnlineResult.java @@ -5,6 +5,9 @@ import org.springframework.data.mongodb.core.index.TextIndexed; import org.springframework.data.mongodb.core.mapping.Document; +import java.util.Date; +import java.util.List; + /** * 鐐逛綅鍦ㄧ嚎鐜� * @@ -18,77 +21,100 @@ /** * 琛屾斂鍖哄垝缂栫爜 */ - private String arealayernoCode; - + private String arealayerPath; + /** + * 琛屾斂鍖哄垝缂栫爜 + */ + private String arealayerno; /** * 琛屾斂鍖哄垝鍚嶇О */ @TextIndexed - private String arealayernoName; + private String arealayerName; /** - * 璇婃柇鏃ユ湡 + * 瑙g爜鐘舵�佺爜 */ - private String diagDate; + private Integer decodingCode; /** - * 缁熻绾害 + * 璁惧id */ - private String dim; - + private Integer deviceId; /** - * icmp绂荤嚎鏁� + * 璁惧鍚嶇О */ - private Integer icmpOfflineNum; - + private String deviceName; /** - * icmp鍦ㄧ嚎鏁� + * icmp寤惰繜 */ - private Integer icmpOnlineNum; - + private Double icmpDelay; /** - * icmp鍦ㄧ嚎鐜囷紝鏍煎紡涓虹櫨鍒嗘瘮瀛楃涓诧紝濡� "99.9%" + * icmp鐘舵�� 2/1/-1/0 鍏ㄩ儴/鍦ㄧ嚎/绂荤嚎/鏈煡 */ - private String icmpOnlineRate; - + private Integer icmpStatus; /** - * icmp璇婃柇鎬绘暟 + * 鏈�杩慽cmp鏃堕棿 */ - private Integer icmpTotalNum; - + private Date icmpTime; /** - * 绂荤嚎鏁� + * 鍏抽敭甯ф椂寤� */ - private Integer offlineNum; - + private Integer ifmDelay; /** - * 鍦ㄧ嚎鏁� + * ip鍦板潃 */ - private Integer onlineNum; - + private String ipAddr; /** - * 鍦ㄧ嚎鐜囷紝鏍煎紡涓虹櫨鍒嗘瘮瀛楃涓诧紝濡� "99.9%" + * 鏈�杩戞寔缁绾挎晠闅滄鏁� */ - private String onlineRate; - + private Integer olErrEverduring; /** - * 椤电爜 + * */ - private Integer pageNum; - + private Date olErrEverduringFirstTime; /** - * 鍒嗛〉澶у皬 + * 绱绂荤嚎鏁呴殰娆℃暟 */ - private Integer pageSize; - + private Integer olErrTotal; /** - * 鎺掑簭灞炴�� + * 绱绂荤嚎鏁呴殰鐜� */ - private String sortFiled; - + private String olErrTotalRate; /** - * 璇婃柇鎬绘暟 + * 宸℃娆℃暟 */ - private Integer totalNum; - + private Integer olTotal; + /** + * sip鐘舵�佺爜 + */ + private Integer sipCode; + /** + * 淇′护鏃跺欢 + */ + private Integer sipDelay; + /** + * 鍦ㄧ嚎鐘舵�� 2/1/-1/0 鍏ㄩ儴/鍦ㄧ嚎/绂荤嚎/鏈煡 + */ + private Integer status; + /** + * 鐪佸巺鏍囩 + */ + private String tagStr; + /** + * 鐪佸巺鏍囩 + */ + private List<String> tags; + /** + * 绉熸埛id + */ + private Integer tenantId; + /** + * 瑙嗛娴佹椂寤� + */ + private Integer videoDelay; + /** + * + */ + private Date vqdTime; } -- Gitblit v1.8.0