|
@@ -125,8 +125,10 @@ public class AppointmentService {
|
|
|
}
|
|
|
for (Map<String, Object> map : data.getData()) {
|
|
|
PureCodeName info = dao.selectPortraitAndIntroduction(map.get("doctorCode").toString());
|
|
|
- map.put("portrait", info.getCode());
|
|
|
- map.put("introduction", info.getName());
|
|
|
+ if (null != info) {
|
|
|
+ map.put("portrait", info.getCode());
|
|
|
+ map.put("introduction", info.getName());
|
|
|
+ }
|
|
|
}
|
|
|
return ResultVoUtil.success(data.getData());
|
|
|
}
|