Commit 832ba3e35893fb6fb8d53120a5b7c1bc2e8fc785
1 parent
ce1da52b95
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 4 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java
View file @
832ba3e
... | ... | @@ -2951,12 +2951,14 @@ |
2951 | 2951 | map.put("handDueWeek", data.getHandDueWeek()); |
2952 | 2952 | |
2953 | 2953 | String fmHospital = ""; |
2954 | - | |
2954 | + String addressPrefix = ""; | |
2955 | 2955 | if (StringUtils.isNotEmpty(data.getFmHospital())) { |
2956 | 2956 | if (com.lyms.platform.common.utils.StringUtils.isNum(data.getFmHospital())) { |
2957 | 2957 | Organization organization = organizationService.getOrganization(Integer.parseInt(data.getFmHospital())); |
2958 | 2958 | if (organization != null && organization.getYn() == YnEnums.YES.getId()) { |
2959 | 2959 | fmHospital = organization.getName(); |
2960 | + addressPrefix = CommonsHelper.getResidence(organization.getProvinceId(), organization.getCityId(), | |
2961 | + organization.getAreaId(), organization.getStreetId(), organization.getAddress(), basicConfigService); | |
2960 | 2962 | } |
2961 | 2963 | } else { |
2962 | 2964 | fmHospital = data.getFmHospital(); |
... | ... | @@ -2964,6 +2966,7 @@ |
2964 | 2966 | |
2965 | 2967 | } |
2966 | 2968 | |
2969 | + map.put("addressPrefix", addressPrefix); | |
2967 | 2970 | map.put("fmHospital", fmHospital); |
2968 | 2971 | |
2969 | 2972 | String deliverDoctor = ""; |