资料导出

This commit is contained in:
zhangqinlin
2021-09-01 16:20:15 +08:00
parent 7aadf30f75
commit ab07ab3056
4 changed files with 45 additions and 7 deletions
@@ -167,7 +167,6 @@ public class JeroController<T, S extends IService<T>> {
// Step.1 组装查询条件
// Step.2 获取导出数据
List<T> pageList = service.list(queryWrapper);
// Step.3 AutoPoi 导出Excel
ModelAndView mv = new ModelAndView(new JeecgEntityExcelView());
//此处设置的filename无效 ,前端会重更新设置一下
@@ -181,7 +180,7 @@ public class JeroController<T, S extends IService<T>> {
mv.addObject(NormalExcelConstants.DATA_LIST, pageList);
return mv;
}
/**
* 通过excel获取导入数据
*