|
@@ -247,7 +247,15 @@ public class ExamStudentServiceImpl implements ExamStudentService {
|
|
|
|
|
|
if (StringUtils.isNotBlank(studentCode)) {
|
|
|
List<String> studentCodeList = studentInfo.getStudentCodeList();
|
|
|
- if (!studentCodeList.contains(studentCode)) {
|
|
|
+ boolean containIgnoreCase = false;
|
|
|
+ for (String cur : studentCodeList) {
|
|
|
+ if (cur.equalsIgnoreCase(studentCode)) {
|
|
|
+ containIgnoreCase = true;
|
|
|
+ studentCode = cur;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (!containIgnoreCase) {
|
|
|
throw new StatusException("100063", "学号未绑定到身份证");
|
|
|
}
|
|
|
} else {
|