Commit ef47537217af801262b25453aba3bd0e46bad325
1 parent
029ab0808b
Exists in
master
and in
1 other branch
座机号 替换的问题
Showing 1 changed file with 5 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/SmsConfigFacade.java
View file @
ef47537
| ... | ... | @@ -666,7 +666,11 @@ |
| 666 | 666 | if (StringUtils.isNotEmpty(obj.getExt1())) |
| 667 | 667 | { |
| 668 | 668 | Organization org= organizationService.getOrganization(Integer.parseInt(obj.getExt1())); |
| 669 | - map.put("hospitalName",org.getName()); | |
| 669 | + if(null!=org){ | |
| 670 | + map.put("hospitalName",org.getName()); | |
| 671 | + }else{ | |
| 672 | + map.put("hospitalName",""); | |
| 673 | + } | |
| 670 | 674 | } |
| 671 | 675 | else |
| 672 | 676 | { |