2
异常代码
// 设置强制公式计算
ExcelWriter writer = EasyExcel.write(outputFile).withTemplate(templateFile).build();
Workbook workbook = writer.writeContext().writeWorkbookHolder().getWorkbook();
workbook.setForceFormulaRecalculation(true);
ExcelWriterSheetBuilder excelWriterSheetBuilder = new ExcelWriterSheetBuilder(writer);
// 填充数据
excelWriterSheetBuilder.doFill(list, FillConfig.builder().build());
writer.finish();
问题描述
这是我导入Excel的模板。
导出模板之后,{和}并没有转化为{},而是继续显示{}。