From 3b0516a2959e25576e4f3fda697a3b025d06c8c9 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期二, 24 六月 2025 14:09:07 +0800
Subject: [PATCH] 每日录像可用指标添加日志,修改大屏为查看当前月平均

---
 ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwThreshold.java |  109 ++++++++++++++++++++++++------------------------------
 1 files changed, 48 insertions(+), 61 deletions(-)

diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwThreshold.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwThreshold.java
index 455439a..7f4542f 100644
--- a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwThreshold.java
+++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwThreshold.java
@@ -1,96 +1,83 @@
 package com.ycl.platform.domain.entity;
 
-
 import annotation.Excel;
 import com.baomidou.mybatisplus.annotation.IdType;
 import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
+import com.fasterxml.jackson.annotation.JsonFormat;
 import com.ycl.system.entity.BaseEntity;
-import enumeration.general.BusinessTypeEnum;
 import lombok.Data;
+import org.apache.commons.lang.builder.ToStringBuilder;
+import org.apache.commons.lang.builder.ToStringStyle;
 
-import java.math.BigDecimal;
+import java.util.Date;
 
 /**
  * 杩愮淮闃堝�煎璞� t_yw_threshold
  *
  * @author gonghl
- * @date 2024-03-25
+ * @date 2024-07-19
  */
 @Data
 @TableName("t_yw_threshold")
-public class YwThreshold extends BaseEntity {
-
+public class YwThreshold
+{
     private static final long serialVersionUID = 1L;
 
-    /**
-     * 涓婚敭
-     */
+    /**  */
     @TableId(value = "id", type = IdType.AUTO)
-    private Integer id;
+    private Long id;
 
-    /**
-     * 璁惧绫诲瀷锛�1浜鸿劯 2杞﹁締 3瑙嗛
-     */
+    /** 璁惧绫诲瀷 */
     @Excel(name = "璁惧绫诲瀷")
     @TableField("monitor_type")
-    private BusinessTypeEnum monitorType;
+    private String monitorType;
 
-    /*----------------------------   瑙嗛瀛楁 ----------------------------------------------*/
-    /**
-     * 瑙嗛璐ㄩ噺宸ュ崟闃堝��
-     */
-    @Excel(name = "瑙嗛璐ㄩ噺宸ュ崟闃堝��")
-    @TableField("video_quality")
-    private String videoQuality;
+    /** 璁℃暟绫诲瀷 */
+    @Excel(name = "璁℃暟绫诲瀷")
+    @TableField("count_type")
+    private String countType;
 
-    /**
-     * 瑙嗛璐ㄩ噺宸ュ崟闃堝��
-     */
-    @Excel(name = "瑙嗛璐ㄩ噺涓嬪彂闃堝��")
-    @TableField("video_quality_auto")
-    private String videoQualityAuto;
+    /** 閿�煎搴擸wThreadConstants */
+    @Excel(name = "閿��")
+    @TableField("`key`")
+    private String key;
 
-    /**
-     * 鍥惧儚璐ㄩ噺宸ュ崟闃堝��
-     */
-    @Excel(name = "鍥惧儚璐ㄩ噺宸ュ崟闃堝��")
-    @TableField("image_quality")
-    private String imageQuality;
+    /** 闃堝�煎悕 */
+    @Excel(name = "闃堝�煎悕")
+    @TableField("name")
+    private String name;
 
-    /**
-     * 鍥惧儚璐ㄩ噺涓嬪彂闃堝��
-     */
-    @Excel(name = "鍥惧儚璐ㄩ噺涓嬪彂闃堝��")
-    @TableField("image_quality_auto")
-    private String imageQualityAuto;
+    /** 鐩存帴涓嬪彂闃堝�� */
+    @Excel(name = "鐩存帴涓嬪彂闃堝��")
+    @TableField("value")
+    private String value;
 
-    /**
-     * 鏍囨敞鍑嗙‘鐜囧伐鍗曢槇鍊�
-     */
-    @Excel(name = "鏍囨敞鍑嗙‘鐜囧伐鍗曢槇鍊�")
-    @TableField("annotation_accuracy")
-    private BigDecimal annotationAccuracy;
+    /** 寰呬笅鍙戦槇鍊� */
+    @Excel(name = "寰呬笅鍙戦槇鍊�")
+    @TableField("value_auto")
+    private String valueAuto;
 
-    /**
-     * 鏍囨敞鍑嗙‘鐜囦笅鍙戦槇鍊�
-     */
-    @Excel(name = "鏍囨敞鍑嗙‘鐜囦笅鍙戦槇鍊�")
-    @TableField("annotation_accuracy_auto")
-    private BigDecimal annotationAccuracyAuto;
+    /** 鎻忚堪 */
+    @Excel(name = "鎻忚堪")
+    @TableField("description")
+    private String description;
 
+    /** 閫昏緫鍒犻櫎锛�0鏈垹闄� 1鍒犻櫎 */
+    @Excel(name = "閫昏緫鍒犻櫎锛�0鏈垹闄� 1鍒犻櫎")
+    private Integer deleted;
 
-    /*----------------------------   浜鸿劯瀛楁 ----------------------------------------------*/
+    /** 鍒涘缓鏃堕棿 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    @TableField("create_time")
+    @Excel(name = "鍒涘缓鏃堕棿")
+    private Date createTime;
 
-
-
-    /*----------------------------   杞﹁締瀛楁 ----------------------------------------------*/
-
-    /**
-     * 閫昏緫鍒犻櫎锛�0鏈垹闄� 1鍒犻櫎
-     */
-    @TableField("deleted")
-    private String deleted;
+    /** 鏇存柊鏃堕棿 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    @TableField("update_time")
+    @Excel(name = "鏇存柊鏃堕棿")
+    private Date updateTime;
 
 }

--
Gitblit v1.8.0