Commit 33294475e106a7e03af826ce8a2db97d30fc8ed5
1 parent
907b0744af
Exists in
master
and in
7 other branches
分娩作废产检劵
Showing 1 changed file with 6 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
3329447
| ... | ... | @@ -526,9 +526,14 @@ |
| 526 | 526 | //查询主档案 |
| 527 | 527 | patientsQuery.setExtEnable(false); |
| 528 | 528 | |
| 529 | - | |
| 529 | + String group = groupsFacade.findByCurrentUserId(autoMatchFacade.getHospitalId(userId)); | |
| 530 | 530 | //如果身份证号码不为空就以身份证号码查询 |
| 531 | 531 | if (!StringUtils.isEmpty(bookbuildingQueryRequest.getCardNo())) { |
| 532 | + | |
| 533 | + if(StringUtils.isNotEmpty(group)){ | |
| 534 | + //区域模式 | |
| 535 | + patientsQuery.setHospitalList(groupsFacade.findGroupHospital(userId, false)); | |
| 536 | + } | |
| 532 | 537 | patientsQuery.setCardNo(bookbuildingQueryRequest.getCardNo()); |
| 533 | 538 | patients = yunBookbuildingService.queryPregnantWithQuery(patientsQuery, "bookbuildingDate", Sort.Direction.DESC); |
| 534 | 539 | } |