Commit b1220110b9561eb1d254b1dfc52ce63dea3a9adc
1 parent
44174845e7
Exists in
master
and in
1 other branch
权限控制
Showing 1 changed file with 7 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java
View file @
b122011
... | ... | @@ -1439,7 +1439,7 @@ |
1439 | 1439 | |
1440 | 1440 | List<String> hospitalIdList = new ArrayList<>(); |
1441 | 1441 | |
1442 | - if(String.valueOf(YnEnums.YES.getId()).equals(request.getIsArea())){ | |
1442 | + if(String.valueOf("true").equals(request.getIsArea())){ | |
1443 | 1443 | |
1444 | 1444 | OrganizationQuery organizationQuery = new OrganizationQuery(); |
1445 | 1445 | // List<Integer> typeList = new ArrayList<>(); |
... | ... | @@ -1554,7 +1554,12 @@ |
1554 | 1554 | if(streetName!=null){ |
1555 | 1555 | completeAddress+=streetName.getName(); |
1556 | 1556 | } |
1557 | - completeAddress+=address; | |
1557 | + if(!StringUtils.isEmpty(address)) { | |
1558 | + completeAddress += address; | |
1559 | + } | |
1560 | + if(completeAddress.length()==0){ | |
1561 | + completeAddress = "-"; | |
1562 | + } | |
1558 | 1563 | result.setCompleteAddress(completeAddress); |
1559 | 1564 | |
1560 | 1565 | String diagnose = ""; |