Workbook workbook = ExcelExportUtil.exportExcel(params, map);
1.创建一个模板文件,获得模板文件
TemplateExportParams params = new TemplateExportParams("export"+File.separator+"template"+File.separator+"oilRecord.xlsx");
2. //得到工作簿对象 Workbook workbook = ExcelExportUtil.exportExcel(params, map);