|
@@ -177,7 +177,7 @@ public class StudentServiceImpl implements StudentService {
|
|
|
if (null != studentByIdentity) {
|
|
|
String curStudentCode = studentByIdentity.getStudentCode();
|
|
|
if (StringUtils.isNotBlank(curStudentCode) && !curStudentCode.equals(studentCode)) {
|
|
|
- throw new StatusException("B-160005", "studentCode is wrong");
|
|
|
+ throw new StatusException("B-160005", "身份证对应得");
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -203,14 +203,15 @@ public class StudentServiceImpl implements StudentService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ updatedStudent.setRootOrgId(rootOrgId);
|
|
|
updatedStudent.setName(studentInfo.getName());
|
|
|
updatedStudent.setIdentityNumber(identityNumber);
|
|
|
updatedStudent.setStudentCode(studentCode);
|
|
|
updatedStudent.setOrgId(orgId);
|
|
|
- if (null != studentInfo.getPhotoPath()) {
|
|
|
+ if (StringUtils.isNotBlank(studentInfo.getPhotoPath())) {
|
|
|
updatedStudent.setPhotoPath(studentInfo.getPhotoPath());
|
|
|
}
|
|
|
- if (null != studentInfo.getPhoneNumber()) {
|
|
|
+ if (StringUtils.isNotBlank(studentInfo.getPhoneNumber())) {
|
|
|
updatedStudent.setPhoneNumber(studentInfo.getPhoneNumber());
|
|
|
}
|
|
|
if (null != studentInfo.getRemark()) {
|