From e3853368e05aad326fdbb7e1057d23cb77918c7b Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期二, 14 五月 2024 02:25:10 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- performance-server/src/main/java/com/yuanchu/mom/utils/StyleYearUtils.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/performance-server/src/main/java/com/yuanchu/mom/utils/StyleUtils.java b/performance-server/src/main/java/com/yuanchu/mom/utils/StyleYearUtils.java similarity index 97% rename from performance-server/src/main/java/com/yuanchu/mom/utils/StyleUtils.java rename to performance-server/src/main/java/com/yuanchu/mom/utils/StyleYearUtils.java index dc8a300..a1c54b1 100644 --- a/performance-server/src/main/java/com/yuanchu/mom/utils/StyleUtils.java +++ b/performance-server/src/main/java/com/yuanchu/mom/utils/StyleYearUtils.java @@ -4,7 +4,7 @@ import com.alibaba.excel.write.metadata.style.WriteFont; import org.apache.poi.ss.usermodel.*; -public class StyleUtils { +public class StyleYearUtils { /** * 鏍囬鏍峰紡 * @return @@ -13,7 +13,7 @@ // 澶寸殑绛栫暐 WriteCellStyle headWriteCellStyle = new WriteCellStyle(); // 鑳屾櫙棰滆壊 - headWriteCellStyle.setFillForegroundColor(IndexedColors.LIME.getIndex()); + headWriteCellStyle.setFillForegroundColor(IndexedColors.GREEN.getIndex()); headWriteCellStyle.setFillPatternType(FillPatternType.SOLID_FOREGROUND); // 瀛椾綋 @@ -53,7 +53,7 @@ WriteCellStyle contentWriteCellStyle = new WriteCellStyle(); // 杩欓噷闇�瑕佹寚瀹� FillPatternType 涓篎illPatternType.SOLID_FOREGROUND 涓嶇劧鏃犳硶鏄剧ず鑳屾櫙棰滆壊.澶撮粯璁や簡 FillPatternType鎵�浠ュ彲浠ヤ笉鎸囧畾 - contentWriteCellStyle.setFillForegroundColor(IndexedColors.LIGHT_GREEN.getIndex()); + contentWriteCellStyle.setFillForegroundColor(IndexedColors.GREY_25_PERCENT.getIndex()); contentWriteCellStyle.setFillPatternType(FillPatternType.SOLID_FOREGROUND); // 璁剧疆瀛椾綋 -- Gitblit v1.9.3