|
@@ -48,7 +48,7 @@ public final class ExportUtils {
|
|
|
String ret = ERROR_MSG_UNKNOWN;
|
|
|
try {
|
|
|
// 写入excel文件
|
|
|
- EasyExcel.write(fullPath).sheet(exportType.getDescription())
|
|
|
+ EasyExcel.write(fullPath, head).sheet(exportType.getDescription())
|
|
|
.doWrite(data);
|
|
|
log.info("{}导出生成缓存文件:{}", exportType.getDescription(), fullPath);
|
|
|
|