From 39794d3cd1b4569f82528fbad23f048d9d1be398 Mon Sep 17 00:00:00 2001 From: fangyuan <527392886@qq.com> Date: 星期三, 11 一月 2023 13:55:52 +0800 Subject: [PATCH] 导出接口 --- ycl-platform/src/main/java/com/ycl/dto/statistics/UnlawfulDto.java | 12 ++++++++++++ 1 files changed, 12 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..bcd8e99 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,5 +1,6 @@ package com.ycl.dto.statistics; +import com.alibaba.excel.annotation.ExcelProperty; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @@ -20,55 +21,66 @@ /** * 绫诲瀷鍚嶇О */ + @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