Commit 775f338d5c189663d3c187d32f227b6b97a282d7

Authored by jiangjiazhi
1 parent 09ab2a15c5

座机号 替换的问题

Showing 1 changed file with 1 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AutoMatchFacade.java View file @ 775f338
... ... @@ -88,8 +88,7 @@
88 88 }
89 89 public String getHospitalId(Integer userId){
90 90 List<Integer> list = matchOrgId(userId);
91   - if(null==list
92   - ){
  91 + if(null==list||CollectionUtils.isEmpty(list)){
93 92 return null;
94 93 }
95 94 return list.get(0)+"";