From 8f2e8522daf081ad4da027c39a776fdd9483b97e Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期一, 15 九月 2025 15:20:51 +0800 Subject: [PATCH] 新需求 --- ycl-pojo/src/main/java/com/ycl/platform/domain/excel/CalculateExport.java | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/excel/CalculateExport.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/excel/CalculateExport.java index 7f7e84e..cd80c88 100644 --- a/ycl-pojo/src/main/java/com/ycl/platform/domain/excel/CalculateExport.java +++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/excel/CalculateExport.java @@ -1,5 +1,6 @@ package com.ycl.platform.domain.excel; +import com.alibaba.excel.annotation.ExcelIgnore; import com.alibaba.excel.annotation.ExcelProperty; import com.alibaba.excel.annotation.write.style.*; import com.alibaba.excel.enums.BooleanEnum; @@ -27,8 +28,14 @@ * 瑙勫垯鍚嶇О */ @ExcelProperty({"鑷础甯傚叕鍏辫棰戠洃鎺х郴缁熺画缁村悎鍚�", "瑙勫垯鍚嶇О"}) - @ColumnWidth(40) + @ColumnWidth(130) private String ruleName; + /** + * 缁嗗垯 + */ + @ExcelProperty({"鑷础甯傚叕鍏辫棰戠洃鎺х郴缁熺画缁村悎鍚�", "缁嗗垯"}) + @ColumnWidth(130) + private String detailName; /** * 鏁伴噺 @@ -37,10 +44,10 @@ private Integer num; /** - * 鍒嗘暟 + * */ @ExcelProperty({"鑷础甯傚叕鍏辫棰戠洃鎺х郴缁熺画缁村悎鍚�", "鍒嗘暟"}) - private Integer score; + private BigDecimal score; /** * 閲戦 @@ -48,4 +55,9 @@ @ExcelProperty({"鑷础甯傚叕鍏辫棰戠洃鎺х郴缁熺画缁村悎鍚�", "閲戦"}) private BigDecimal money; + /** + * 鎵i櫎鍒嗘暟 + */ + @ExcelIgnore + private BigDecimal calcFraction; } -- Gitblit v1.8.0