Commit 7cc1d31f9d4a28d08830eb25321f2600ce8c2d79
1 parent
c20a674a22
Exists in
master
and in
1 other branch
修改新电子病历
Showing 1 changed file with 4 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ApplyOrderFacade.java
View file @
7cc1d31
... | ... | @@ -508,6 +508,8 @@ |
508 | 508 | List<Organization> organization = organizationService.queryOrganization(organizationQuery); |
509 | 509 | if (CollectionUtils.isNotEmpty(organization)) { |
510 | 510 | referralApplyOrderQuery.setOutHospitalId(organization.get(0).getId()+""); |
511 | + }else{ | |
512 | + referralApplyOrderQuery.setOutHospitalId(applyOrderQueryRequest.getTransferredHospital()); | |
511 | 513 | } |
512 | 514 | } |
513 | 515 | } |
... | ... | @@ -524,6 +526,8 @@ |
524 | 526 | List<Organization> organization = organizationService.queryOrganization(organizationQuery); |
525 | 527 | if (CollectionUtils.isNotEmpty(organization)) { |
526 | 528 | referralApplyOrderQuery.setTransferredHospital(organization.get(0).getId()+""); |
529 | + }else{ | |
530 | + referralApplyOrderQuery.setTransferredHospital(applyOrderQueryRequest.getTransferredHospital()); | |
527 | 531 | } |
528 | 532 | } |
529 | 533 | } |