performance-server/src/main/java/com/yuanchu/mom/utils/StyleYearUtils.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
performance-server/src/main/java/com/yuanchu/mom/utils/StyleYearUtils.java
@@ -53,7 +53,7 @@ WriteCellStyle contentWriteCellStyle = new WriteCellStyle(); // 这里需要指定 FillPatternType 为FillPatternType.SOLID_FOREGROUND 不然无法显示背景颜色.头默认了 FillPatternType所以可以不指定 // contentWriteCellStyle.setFillForegroundColor(IndexedColors.LIGHT_GREEN.getIndex()); contentWriteCellStyle.setFillForegroundColor(IndexedColors.GREY_25_PERCENT.getIndex()); contentWriteCellStyle.setFillPatternType(FillPatternType.SOLID_FOREGROUND); // 设置字体