Commit 2db5671a0f64d766594889f32e906a4773c96d66
1 parent
0b8563bbc8
Exists in
master
and in
6 other branches
高危
Showing 1 changed file with 4 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/TestController.java
View file @
2db5671
... | ... | @@ -191,8 +191,9 @@ |
191 | 191 | */ |
192 | 192 | @RequestMapping(value = "/synAntexcOtherHighRisk", method = RequestMethod.GET) |
193 | 193 | @ResponseBody |
194 | - public BaseResponse synAntexcOtherHighRisk() { | |
194 | + public BaseResponse synAntexcOtherHighRisk(@RequestParam(required = false) String hospitalId) { | |
195 | 195 | AntExChuQuery antExChuQuery1 = new AntExChuQuery(); |
196 | + antExChuQuery1.setHospitalId(hospitalId); | |
196 | 197 | antExChuQuery1.setOtherHighRisk("{}"); |
197 | 198 | int patientCount = antenatalExaminationService.queryAntExChuCount(antExChuQuery1.convertToQuery()); |
198 | 199 | System.out.println("一共需要处理数据量:" + patientCount); |
199 | 200 | |
... | ... | @@ -210,8 +211,9 @@ |
210 | 211 | */ |
211 | 212 | @RequestMapping(value = "/synAntexOtherHighRisk", method = RequestMethod.GET) |
212 | 213 | @ResponseBody |
213 | - public BaseResponse synAntexOtherHighRisk() { | |
214 | + public BaseResponse synAntexOtherHighRisk(@RequestParam(required = false) String hospitalId) { | |
214 | 215 | AntExQuery antExQuery = new AntExQuery(); |
216 | + antExQuery.setHospitalId(hospitalId); | |
215 | 217 | antExQuery.setOtherRisk("{}"); |
216 | 218 | int patientCount = antenatalExaminationService.queryAntenatalExaminationCount(antExQuery.convertToQuery()); |
217 | 219 | System.out.println("一共需要处理数据量:" + patientCount); |