|
@@ -162,7 +162,7 @@ public class TEExamStudentLog implements Serializable {
|
|
|
if (Objects.isNull(currentIp) || Objects.equals(currentIp.trim(), "")) {
|
|
|
currentIp = ip;
|
|
|
continue;
|
|
|
- } else if (Objects.nonNull(currentIp) && !Objects.equals(currentIp.trim(), "") && !Objects.equals(currentIp, ip)) {
|
|
|
+ } else if (Objects.nonNull(currentIp) && Objects.nonNull(ip) && !Objects.equals(currentIp.trim(), "") && !Objects.equals(currentIp, ip)) {
|
|
|
if (!Objects.equals(teExamStudentLogList.get(i).getType(), ExamRecordStatusEnum.FINISHED.name())
|
|
|
|| (Objects.equals(teExamStudentLogList.get(i).getType(), ExamRecordStatusEnum.FINISHED.name()) && Objects.nonNull(ip))) {
|
|
|
teExamStudentLogList.get(i).setIpChange(true);
|