Browse Source

修改导出等

feature/v.2.0.0
caoyizhong 3 years ago
parent
commit
30981cc5a3
  1. 2
      air/src/main/java/com/air/land/service/impl/LandListedServiceImpl.java

2
air/src/main/java/com/air/land/service/impl/LandListedServiceImpl.java

@ -237,7 +237,7 @@ public class LandListedServiceImpl extends ServiceImpl<LandListedMapper, LandLis
landListeds.forEach(landListed -> {
list.add(entityToList(landListed));
});
redisUtil.setCacheObject("/exportAllLandListExcel",list,10, TimeUnit.MINUTES);//全部数据类型
redisUtil.setCacheObject("/exportAllLandListExcel",list,15, TimeUnit.MINUTES);//全部数据类型
// InputStream resourceAsStream = LandListedController.class.getClassLoader().getResourceAsStream("templates/excel/exportLandList.xlsx");
// // 读取excel模板

Loading…
Cancel
Save