From c4c1c6cf89781eb06dc02b677a8954fdb2666c43 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期三, 16 七月 2025 22:39:06 +0800
Subject: [PATCH] 添加时间筛选

---
 ycl-platform/src/main/java/com/ycl/dto/statistics/UnlawfulDto.java |   29 ++++++++++++++++++++++++-----
 1 files changed, 24 insertions(+), 5 deletions(-)

diff --git a/ycl-platform/src/main/java/com/ycl/dto/statistics/UnlawfulDto.java b/ycl-platform/src/main/java/com/ycl/dto/statistics/UnlawfulDto.java
index 705bcce..7fd6241 100644
--- a/ycl-platform/src/main/java/com/ycl/dto/statistics/UnlawfulDto.java
+++ b/ycl-platform/src/main/java/com/ycl/dto/statistics/UnlawfulDto.java
@@ -1,6 +1,9 @@
 package com.ycl.dto.statistics;
 
+import com.alibaba.excel.annotation.ExcelIgnore;
+import com.alibaba.excel.annotation.ExcelProperty;
 import lombok.AllArgsConstructor;
+import lombok.Builder;
 import lombok.Data;
 import lombok.NoArgsConstructor;
 
@@ -15,60 +18,76 @@
 @Data
 @AllArgsConstructor
 @NoArgsConstructor
+@Builder
 public class UnlawfulDto {
-
     /**
      * 绫诲瀷鍚嶇О
      */
+    @ExcelIgnore
+    private Long id;
+    /**
+     * 绫诲瀷鍚嶇О
+     */
+    @ExcelProperty(value = "绫诲瀷鍚嶇О", index = 0)
     private String name;
 
     /**
      * 浜嬩欢鎬绘暟
      */
+    @ExcelProperty(value = "浜嬩欢鎬绘暟", index = 1)
     private Integer count;
 
     /**
      * 鍗犳瘮
      */
-    private Double ratio;
+    @ExcelProperty(value = "鍗犳瘮", index = 2)
+    private String ratio;
 
     /**
      * 绔嬫
      */
+    @ExcelProperty(value = "绔嬫", index = 3)
     private Integer register;
 
     /**
      * 鏆備笉绔嬫
      */
+    @ExcelProperty(value = "鏆備笉绔嬫", index = 4)
     private Integer notRegister;
 
     /**
      * 缁撴
      */
+    @ExcelProperty(value = "缁撴", index = 5)
     private Integer closing;
 
     /**
      * 鍐嶅涔�
      */
+    @ExcelProperty(value = "鍐嶅涔�", index = 6)
     private Integer relearn;
 
     /**
      * 宸插鏍�
      */
+    @ExcelProperty(value = "宸插鏍�", index = 7)
     private Integer checked;
 
     /**
      * 瀹℃牳鐜�
      */
-    private Double checkedRatio;
+    @ExcelProperty(value = "瀹℃牳鐜�", index = 8)
+    private String checkedRatio;
 
     /**
      * 绔嬫鐜�
      */
-    private Double registerRatio;
+    @ExcelProperty(value = "绔嬫鐜�", index = 9)
+    private String registerRatio;
 
     /**
      * 鍑嗙‘鐜�
      */
-    private Double accuracyRatio;
+    @ExcelProperty(value = "鍑嗙‘鐜�", index = 10)
+    private String accuracyRatio;
 }

--
Gitblit v1.8.0