|
|
@@ -241,11 +241,11 @@ public class WxTaskNotifyServiceImpl implements WxTaskNotifyService {
|
|
|
map.put("parentsPhoto", parentsDO.getParentsPhoto());
|
|
|
}
|
|
|
}
|
|
|
- if (ObjectUtils.isNotEmpty(tr.getStuId())){
|
|
|
- StudentDO studentDO = studentMapper.get(tr.getStuId());
|
|
|
+ Long stuId = tr.getStuId();
|
|
|
+ if (ObjectUtils.isNotEmpty(stuId)){
|
|
|
+ StudentDO studentDO = studentMapper.get(stuId);
|
|
|
if (ObjectUtils.isNotEmpty(studentDO)){
|
|
|
map.put("stuName", studentDO.getStuName());
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
maps.add(map);
|