|
@@ -152,6 +152,9 @@ public class StudentServiceImpl implements StudentService {
|
|
|
student.setStudentCode(studentCode);
|
|
|
}
|
|
|
if (null != studentInfo.getName()) {
|
|
|
+ if (StringUtils.isBlank(studentInfo.getName())) {
|
|
|
+ throw new StatusException("B-160006", "姓名不能为空");
|
|
|
+ }
|
|
|
student.setName(studentInfo.getName());
|
|
|
}
|
|
|
if (null != studentInfo.getPhotoPath()) {
|