Commit 57073f992d8a9adbc386e967d100a370b149a650

Authored by liquanyu
1 parent 56f9e488ea

统计

Showing 1 changed file with 4 additions and 4 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AnnualReportFacade.java View file @ 57073f9
... ... @@ -99,10 +99,14 @@
99 99 Map<Object, List<String>> map = new LinkedHashMap<>();
100 100 for (String area : listArea) {
101 101 List<String> hospitalIds = this.getCurrentUserHospPermissions(userId, provinceId, cityId, area);
  102 + System.out.println(hospitalIds);
  103 +
102 104 map.put(area, hospitalIds);
103 105 }
104 106  
  107 +
105 108 List<Map<String, String>> mapList = this.getDates(map, organizationService, time, babyService, matDeliverService, antExRecordService, antenatalExaminationService, sieveService, matDeliverFollowService, patientsService, mongoTemplate);
  109 + System.out.println(mapList);
106 110 this.sum(mapList);
107 111 httpServletResponse.setContentType("application/force-download");
108 112 httpServletResponse.setHeader("Content-Disposition", "attachment;filename=" + new String(("年报表.xls").getBytes("UTF-8"), "ISO-8859-1"));
... ... @@ -117,10 +121,6 @@
117 121  
118 122 public List<String> getCurrentUserHospPermissions(Integer userId, String provinceId, String cityId, String areaId) {
119 123 List<String> hospitalList = new ArrayList<>();
120   -// String hospital = autoMatchFacade.getHospitalId(userId);
121   -// if (null != hospital) {
122   -// hospitalList.add(hospital);
123   -// }
124 124  
125 125 //权限所有的医院
126 126 List<String> allHospitalList = new ArrayList<>();