|
@@ -532,7 +532,7 @@ public class ExamRecordCacheUtil {
|
|
|
}
|
|
|
|
|
|
public static void setClientCurrentIp(Long recordId, String ip) {
|
|
|
- if (Objects.nonNull(getId(recordId)) && (Objects.nonNull(ip) && !Objects.equals(ip.trim(), "0:0:0:0:0:0:0:1") && !Objects.equals(ip.trim(), "127.0.0.1")
|
|
|
+ if (Objects.nonNull(getId(recordId)) && (Objects.nonNull(ip) && !Objects.equals(ip.trim(), "") && !Objects.equals(ip.trim(), "0:0:0:0:0:0:0:1") && !Objects.equals(ip.trim(), "127.0.0.1")
|
|
|
&& !Objects.equals(ip.trim(), "localhost"))) {
|
|
|
String historyIp = getClientCurrentIp(recordId);
|
|
|
if (Objects.nonNull(historyIp) && !Objects.equals(historyIp.trim(), "") && !Objects.equals(historyIp, ip)) {
|