|
@@ -9,6 +9,7 @@ import com.jeeplus.common.utils.Reflections;
|
|
|
import com.jeeplus.common.utils.excel.annotation.ExcelField;
|
|
|
import com.jeeplus.modules.sys.utils.DictUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
+import org.apache.poi.hssf.util.HSSFColor;
|
|
|
import org.apache.poi.ss.usermodel.*;
|
|
|
import org.apache.poi.ss.util.CellRangeAddress;
|
|
|
import org.apache.poi.xssf.streaming.SXSSFWorkbook;
|
|
@@ -416,6 +417,7 @@ public class ExportUtil {
|
|
|
headerFont.setBoldweight(Font.BOLDWEIGHT_BOLD);
|
|
|
headerFont.setColor(IndexedColors.BLACK.getIndex());
|
|
|
style.setFont(headerFont);
|
|
|
+ style.setFillForegroundColor(HSSFColor.WHITE.index);
|
|
|
styles.put("header", style);
|
|
|
return styles;
|
|
|
}
|