Browse Source

导出bug

master
zhangyuan 3 years ago
parent
commit
6421eb98e0
  1. 7
      epdc-cloud-vim-yushan/src/main/java/com/elink/esua/epdc/vaccine/epidemic/service/impl/EpidemicUserInfoExportServer.java

7
epdc-cloud-vim-yushan/src/main/java/com/elink/esua/epdc/vaccine/epidemic/service/impl/EpidemicUserInfoExportServer.java

@ -40,8 +40,7 @@ public class EpidemicUserInfoExportServer implements IExcelExportServer {
String grids = (String) params.get("deptIdList");
String agencyList = (String) params.get("agencyList");
params.put("deptIdList",null);
params.put("agencyList",null);
if(StringUtils.isNotBlank(grids)){
List<String> gridList = Arrays.asList(grids.split(","));
params.put("gridList",gridList);
@ -59,6 +58,10 @@ public class EpidemicUserInfoExportServer implements IExcelExportServer {
params.put("deptIdList", user.getDeptIdList());
}
List<EpidemicRecordListDTO> recordList = epidemicUserInfoDao.getEpidemicUserRecordList(params);
params.put("deptIdList",null);
params.put("agencyList",null);
List<Object> targetList = new ArrayList<>();
if (CollUtil.isNotEmpty(recordList)) {
Object target;

Loading…
Cancel
Save