Commit f786bf49dde8e512073b12bb08228608c0fde7ab
1 parent
d354abf366
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 3 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyPsychologistFacade.java
View file @
f786bf4
| ... | ... | @@ -310,7 +310,9 @@ |
| 310 | 310 | BabyPsychologistResult babyPsychologistResult = new BabyPsychologistResult(); |
| 311 | 311 | if(babyPsychologistModel !=null ){ |
| 312 | 312 | babyPsychologistResult.convertToResult(babyPsychologistModel); |
| 313 | - babyPsychologistResult.setHospitalId(CommonsHelper.getHospitalName(babyPsychologistModel.getHospitalId(), organizationService)); | |
| 313 | + if(StringUtils.isNotEmpty(babyPsychologistModel.getHospitalId())){ | |
| 314 | + babyPsychologistResult.setHospitalName(CommonsHelper.getHospitalName(babyPsychologistModel.getHospitalId(), organizationService)); | |
| 315 | + } | |
| 314 | 316 | babyPsychologistResultList.add(babyPsychologistResult); |
| 315 | 317 | } |
| 316 | 318 | } |