Commit 55b12621 authored by 向怀芳's avatar 向怀芳 🎱

1. 处理空对象

parent 4e9a8dfb
......@@ -97,7 +97,9 @@ public class HpHzjlServiceImpl extends ServiceImpl<HpHzjlMapper, HpHzjl> impleme
.eq(HpDocInfo::getResourceName, r.getZzysxm())
.last("limit 1");
HpDocInfo one = hpDocInfoService.getOne(dw);
if(ObjectUtil.isNotNull(one)){
doctorList.add(one);
}
});
}
return doctorList;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment