|
@@ -12,7 +12,7 @@ import cn.com.qmth.examcloud.core.oe.admin.dao.enums.*;
|
|
import cn.com.qmth.examcloud.core.oe.admin.service.*;
|
|
import cn.com.qmth.examcloud.core.oe.admin.service.*;
|
|
import cn.com.qmth.examcloud.core.oe.admin.service.cache.ExamStudentCache;
|
|
import cn.com.qmth.examcloud.core.oe.admin.service.cache.ExamStudentCache;
|
|
import cn.com.qmth.examcloud.question.commons.core.question.AnswerType;
|
|
import cn.com.qmth.examcloud.question.commons.core.question.AnswerType;
|
|
-import cn.com.qmth.examcloud.support.Constants;
|
|
|
|
|
|
+import cn.com.qmth.examcloud.support.CacheConstants;
|
|
import cn.com.qmth.examcloud.support.cache.CacheHelper;
|
|
import cn.com.qmth.examcloud.support.cache.CacheHelper;
|
|
import cn.com.qmth.examcloud.support.cache.bean.CourseCacheBean;
|
|
import cn.com.qmth.examcloud.support.cache.bean.CourseCacheBean;
|
|
import cn.com.qmth.examcloud.support.cache.bean.ExamSettingsCacheBean;
|
|
import cn.com.qmth.examcloud.support.cache.bean.ExamSettingsCacheBean;
|
|
@@ -164,13 +164,13 @@ public class SyncExamDataCloudServiceProvider extends ControllerSupport implemen
|
|
Long realExamRecordDataId = syncExamRecordData(transitionExamRecordData);
|
|
Long realExamRecordDataId = syncExamRecordData(transitionExamRecordData);
|
|
|
|
|
|
// 违纪-非法考生端应用
|
|
// 违纪-非法考生端应用
|
|
- String reason = redisClient.get(Constants.OE_DISCIPLINE_ILLEGAL_CLIENT + transitionExamRecordDataId, String.class);
|
|
|
|
|
|
+ String reason = redisClient.get(CacheConstants.CACHE_OE_DISCIPLINE_ILLEGAL_CLIENT + transitionExamRecordDataId, String.class);
|
|
if (StringUtils.isNotEmpty(reason)) {
|
|
if (StringUtils.isNotEmpty(reason)) {
|
|
examAuditService.saveExamAuditForIllegalClient(realExamRecordDataId, reason);
|
|
examAuditService.saveExamAuditForIllegalClient(realExamRecordDataId, reason);
|
|
}
|
|
}
|
|
|
|
|
|
//header校验错误
|
|
//header校验错误
|
|
- Boolean hasWarn = redisClient.get(Constants.OE_DISCIPLINE_ILLEGAL_DATA + transitionExamRecordDataId, Boolean.class);
|
|
|
|
|
|
+ Boolean hasWarn = redisClient.get(CacheConstants.CACHE_OE_DISCIPLINE_ILLEGAL_DATA + transitionExamRecordDataId, Boolean.class);
|
|
if (hasWarn != null && hasWarn) {
|
|
if (hasWarn != null && hasWarn) {
|
|
examAuditService.saveHeaderWarnAudit(realExamRecordDataId);
|
|
examAuditService.saveHeaderWarnAudit(realExamRecordDataId);
|
|
}
|
|
}
|