nidapeng
2024-04-03 056ed00799018426f21837c88a3e3abcd3c90d30
server/service/src/main/java/com/doumee/core/annotation/excel/ExcelExporter.java
@@ -358,6 +358,7 @@
        style.setVerticalAlignment(VerticalAlignment.CENTER);
        // 设置背景
        style.setFillPattern(FillPatternType.SOLID_FOREGROUND);
        style.setFillForegroundColor(IndexedColors.GREY_25_PERCENT.getIndex());
        // 字体
        Font font = workbook.createFont();
        font.setFontHeightInPoints((short)12);