|
|
|
@ -119,6 +119,10 @@ public class MaxKbController extends Controller {
|
|
|
|
|
String tmpFile = tmpDir + File.separator + UUID.randomUUID().toString() + ".xlsx";
|
|
|
|
|
exporter.exportToExcel(tmpFile, list);
|
|
|
|
|
//提供下载
|
|
|
|
|
renderFile(new File(tmpFile), gather_regionc + "统计报表.xlsx");
|
|
|
|
|
String fileName = "统计报表.xlsx";
|
|
|
|
|
if(!StrKit.isBlank(gather_regionc)){
|
|
|
|
|
fileName = gather_regionc + fileName;
|
|
|
|
|
}
|
|
|
|
|
renderFile(new File(tmpFile), fileName);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|