Commit 267ac1a4fde0122b3a7487f9f671c01b9efec32f
1 parent
fed6dcea44
Exists in
master
and in
6 other branches
update
Showing 3 changed files with 17 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/hospitalapi/qhdfy/QhdfyHighRiskService.java
View file @
267ac1a
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/BabyBuildController.java
View file @
267ac1a
... | ... | @@ -246,7 +246,7 @@ |
246 | 246 | @RequestParam("page") Integer page, |
247 | 247 | @RequestParam("limit") Integer limit, |
248 | 248 | @RequestParam(value = "showDetail", defaultValue = "0") Integer showDetail, |
249 | - @RequestParam(value = "isShowPhone", defaultValue = "0") Integer isShowPhone, | |
249 | + @RequestParam(value = "isShowPhone") Integer isShowPhone, | |
250 | 250 | @RequestParam(value = "buildDoctor", required = false) String buildDoctor, |
251 | 251 | @RequestParam(value = "provinceId", required = false) String provinceId, |
252 | 252 | @RequestParam(value = "cityId", required = false) String cityId, |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java
View file @
267ac1a
... | ... | @@ -1566,7 +1566,14 @@ |
1566 | 1566 | if (!StringUtils.isEmpty(model.getMcertNo())) { |
1567 | 1567 | |
1568 | 1568 | PatientsQuery patientsQuery = new PatientsQuery(); |
1569 | - patientsQuery.setCardNo(model.getMcertNo()); | |
1569 | + if (StringUtils.isNotEmpty(model.getParentId())) | |
1570 | + { | |
1571 | + patientsQuery.setId(model.getParentId()); | |
1572 | + } | |
1573 | + else | |
1574 | + { | |
1575 | + patientsQuery.setCardNo(model.getMcertNo()); | |
1576 | + } | |
1570 | 1577 | patientsQuery.setYn(YnEnums.YES.getId()); |
1571 | 1578 | |
1572 | 1579 | List <Patients> list = patientsService.queryPatient(patientsQuery); |