Commit 923c6dd16d99e184a4d68c1c7a821a0299e93a9c
1 parent
26857cc888
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 9 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntExRecordFacade.java
View file @
923c6dd
| ... | ... | @@ -965,7 +965,7 @@ |
| 965 | 965 | |
| 966 | 966 | |
| 967 | 967 | public void exportFindAntEx(AntExManagerQueryRequest antExManagerQueryRequest, Integer id, boolean b, HttpServletResponse httpServletResponse) { |
| 968 | - | |
| 968 | + String hospitalId = autoMatchFacade.getHospitalId(id); | |
| 969 | 969 | BaseListResponse listRep = (BaseListResponse) findList(antExManagerQueryRequest, id, b, null, false); |
| 970 | 970 | List<Map<String, Object>> datas = new ArrayList<>(); |
| 971 | 971 | try { |
| ... | ... | @@ -989,6 +989,11 @@ |
| 989 | 989 | data.put("checkDoctor", aer.getCheckDoctor()); |
| 990 | 990 | data.put("lName", aer.getlName()); |
| 991 | 991 | data.put("phone", aer.getPhone()); |
| 992 | + if("2100001377".equals(hospitalId)){ | |
| 993 | + data.put("prevCheckTime", aer.getPrevCheckTime()); | |
| 994 | + } | |
| 995 | + data.put("phone", aer.getPhone()); | |
| 996 | + | |
| 992 | 997 | datas.add(data); |
| 993 | 998 | } |
| 994 | 999 | } |
| ... | ... | @@ -1012,6 +1017,9 @@ |
| 1012 | 1017 | cnames.put("checkDoctor", "产检医生"); |
| 1013 | 1018 | cnames.put("lName", "登记人"); |
| 1014 | 1019 | cnames.put("phone", "联系电话"); |
| 1020 | + if("2100001377".equals(hospitalId)){ | |
| 1021 | + cnames.put("prevCheckTime","上次预约产检日期"); | |
| 1022 | + } | |
| 1015 | 1023 | httpServletResponse.setContentType("application/octet-stream"); |
| 1016 | 1024 | httpServletResponse.setCharacterEncoding("UTF-8"); |
| 1017 | 1025 | httpServletResponse.setHeader("Content-Disposition", "attachment;fileName=" + "data.xls"); |