TemplateExportParams params = new TemplateExportParams(templateFile.getPath());
用的jeecgboot的autopoi模板文件导出,本地正常运行。
但线上是jar包,不做解压缩。
查了网上资料,但都只到获取excel文件的InputStream这一步。
有没有根据输入流进行excel模板导出的方式?
拿不到模板?用ClassPathResource获取