Commit 6458f5fc5b187d28c690a84fef8bebfcbf1ca8e7
1 parent
5dd00e1490
Exists in
master
and in
6 other branches
update code
Showing 2 changed files with 5 additions and 3 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PregnantBuildController.java
View file @
6458f5f
... | ... | @@ -66,8 +66,9 @@ |
66 | 66 | @RequestMapping(value = "/getPatientBuildId", method = RequestMethod.GET) |
67 | 67 | @ResponseBody |
68 | 68 | public BaseObjectResponse getPatientBuildId(@RequestParam(required = true) String certType, |
69 | - @RequestParam(required = true) String certNo) { | |
70 | - return bookbuildingFacade.getPatientBuildId(certType,certNo); | |
69 | + @RequestParam(required = true) String certNo, | |
70 | + @RequestParam(required = true) String hospitalId) { | |
71 | + return bookbuildingFacade.getPatientBuildId(certType,certNo,hospitalId); | |
71 | 72 | } |
72 | 73 | |
73 | 74 | /** |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
6458f5f
... | ... | @@ -1865,11 +1865,12 @@ |
1865 | 1865 | } |
1866 | 1866 | |
1867 | 1867 | |
1868 | - public BaseObjectResponse getPatientBuildId(String certType, String certNo) { | |
1868 | + public BaseObjectResponse getPatientBuildId(String certType, String certNo,String hospitalId) { | |
1869 | 1869 | PatientsQuery patientsQuery = new PatientsQuery(); |
1870 | 1870 | patientsQuery.setCardNo(certNo); |
1871 | 1871 | patientsQuery.setPcerteTypeId(certType); |
1872 | 1872 | patientsQuery.setYn(YnEnums.YES.getId()); |
1873 | + patientsQuery.setHospitalId(hospitalId); | |
1873 | 1874 | List<Patients> patients = yunBookbuildingService.queryPregnantWithQuery(patientsQuery); |
1874 | 1875 | String patientId = ""; |
1875 | 1876 | if (CollectionUtils.isNotEmpty(patients)) |