Commit 962af034 authored by 高滢's avatar 高滢

导出的空白页

parent 2ac13cbf
...@@ -180,6 +180,8 @@ public class TestPlanRecordController extends BaseController{ ...@@ -180,6 +180,8 @@ public class TestPlanRecordController extends BaseController{
customOrder.forEach(key -> { customOrder.forEach(key -> {
if (result.containsKey(key)) { if (result.containsKey(key)) {
resultDesc.put(key, result.get(key)); resultDesc.put(key, result.get(key));
}else {
resultDesc.put(key, new ArrayList<>());
} }
}); });
ExcelMultipleSheetsUtil.excelMultipleSheets(resultDesc, "检测方案" + DateUtil.format(new Date(), "yyyyMMdd"), XLSX_SUFFIX, respon,cover); ExcelMultipleSheetsUtil.excelMultipleSheets(resultDesc, "检测方案" + DateUtil.format(new Date(), "yyyyMMdd"), XLSX_SUFFIX, respon,cover);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment