From 35da9191297752452f7ab60ff9bc3eed515dfeec Mon Sep 17 00:00:00 2001 From: Crunchy <3114200645@qq.com> Date: 星期一, 13 五月 2024 16:30:06 +0800 Subject: [PATCH] 2024-5-10 绩效管理-班次-月度文件导出 --- 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 96% 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..ac7ad6d 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.LIGHT_GREEN.getIndex()); contentWriteCellStyle.setFillPatternType(FillPatternType.SOLID_FOREGROUND); // 璁剧疆瀛椾綋 -- Gitblit v1.9.3