From c4aa721a61edb5ff4502d621897c266b98ef3d1c Mon Sep 17 00:00:00 2001 From: baizonghao <1719256278@qq.com> Date: 星期五, 24 二月 2023 11:18:58 +0800 Subject: [PATCH] 按报警点位统计,按区域统计 --- ycl-platform/src/main/java/com/ycl/dto/statistics/UnlawfulDto.java | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 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..02c4ec5 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,8 @@ package com.ycl.dto.statistics; +import com.alibaba.excel.annotation.ExcelProperty; import lombok.AllArgsConstructor; +import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; @@ -15,60 +17,72 @@ @Data @AllArgsConstructor @NoArgsConstructor +@Builder public class UnlawfulDto { /** * 绫诲瀷鍚嶇О */ + @ExcelProperty(value = "绫诲瀷鍚嶇О", index = 0) private String name; /** * 浜嬩欢鎬绘暟 */ + @ExcelProperty(value = "浜嬩欢鎬绘暟", index = 1) private Integer count; /** * 鍗犳瘮 */ + @ExcelProperty(value = "鍗犳瘮", index = 2) private Double 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; /** * 瀹℃牳鐜� */ + @ExcelProperty(value = "瀹℃牳鐜�", index = 8) private Double checkedRatio; /** * 绔嬫鐜� */ + @ExcelProperty(value = "绔嬫鐜�", index = 9) private Double registerRatio; /** * 鍑嗙‘鐜� */ + @ExcelProperty(value = "鍑嗙‘鐜�", index = 10) private Double accuracyRatio; } -- Gitblit v1.8.0