|
@@ -106,7 +106,7 @@ public class StudentServiceImpl implements StudentService {
|
|
|
String studentCode = studentInfo.getStudentCode();
|
|
|
if (StringUtils.isNotBlank(studentCode)) {
|
|
|
StudentEntity studentByCode = studentRepo.findByStudentCodeAndRootOrgId(studentCode, rootOrgId);
|
|
|
- if (null != studentByCode && (!studentByCode.getIdentityNumber().equals(identityNumber))) {
|
|
|
+ if (null != studentByCode && (!studentByCode.getIdentityNumber().equalsIgnoreCase(identityNumber))) {
|
|
|
throw new StatusException("B-160008", "学号被占用. 学号: " + studentCode);
|
|
|
}
|
|
|
|