@GetMapping("/exportName")
public void exportName(HttpServletResponse response) throws IOException {
String resource = Objects.requireNonNull(JeecgSystemApplication.class.getClassLoader().getResource("xls/RejectionName.xlsx")).getFile().substring(1);
TemplateExportParams params = new TemplateExportParams(
resource);
Map map = new HashMap();
List
模板位置:
注意模板中设置成fe 而不是$fe:
重新运行即可:



