Commit dc91fb1ac0580874a95a0bd99b11b9c1a1180dc1
1 parent
dd45a35798
Exists in
master
and in
6 other branches
update code
Showing 2 changed files with 3 additions and 7 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PregnantBuildController.java
View file @
dc91fb1
... | ... | @@ -65,7 +65,7 @@ |
65 | 65 | */ |
66 | 66 | @RequestMapping(value = "/getPatientBuildId", method = RequestMethod.GET) |
67 | 67 | @ResponseBody |
68 | - public BaseObjectResponse getPatientBuildId(@RequestParam(required = true) String certType, | |
68 | + public String getPatientBuildId(@RequestParam(required = true) String certType, | |
69 | 69 | @RequestParam(required = true) String certNo, |
70 | 70 | @RequestParam(required = true) String hospitalId) { |
71 | 71 | return bookbuildingFacade.getPatientBuildId(certType,certNo,hospitalId); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
dc91fb1
... | ... | @@ -1865,7 +1865,7 @@ |
1865 | 1865 | } |
1866 | 1866 | |
1867 | 1867 | |
1868 | - public BaseObjectResponse getPatientBuildId(String certType, String certNo,String hospitalId) { | |
1868 | + public String getPatientBuildId(String certType, String certNo,String hospitalId) { | |
1869 | 1869 | PatientsQuery patientsQuery = new PatientsQuery(); |
1870 | 1870 | patientsQuery.setCardNo(certNo); |
1871 | 1871 | patientsQuery.setPcerteTypeId(certType); |
... | ... | @@ -1877,11 +1877,7 @@ |
1877 | 1877 | { |
1878 | 1878 | patientId = patients.get(0).getId(); |
1879 | 1879 | } |
1880 | - BaseObjectResponse objectResponse = new BaseObjectResponse(); | |
1881 | - objectResponse.setData(patientId); | |
1882 | - objectResponse.setErrorcode(ErrorCodeConstants.SUCCESS); | |
1883 | - objectResponse.setErrormsg("成功"); | |
1884 | - return objectResponse; | |
1880 | + return patientId; | |
1885 | 1881 | } |
1886 | 1882 | } |