|
@@ -33,9 +33,9 @@ public class ClearExamDataCacheExecutor implements NodeExecuter<Long, ExamRecord
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
private RedisClient redisClient;
|
|
private RedisClient redisClient;
|
|
|
|
+ private static final ExamCloudLog LOG = ExamCloudLogFactory.getLog(ClearExamDataCacheExecutor.class);
|
|
@Autowired
|
|
@Autowired
|
|
private ExamingSessionService examingSessionService;
|
|
private ExamingSessionService examingSessionService;
|
|
- private static final ExamCloudLog LOG = ExamCloudLogFactory.getLog(ClearExamDataCacheExecutor.class);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
* 执行
|
|
* 执行
|
|
@@ -84,7 +84,6 @@ public class ClearExamDataCacheExecutor implements NodeExecuter<Long, ExamRecord
|
|
redisClient.delete(sessionKey);
|
|
redisClient.delete(sessionKey);
|
|
this.infoLog(String.format("清理交卷未删除的会话:%s", sessionKey), examRecordDataId);
|
|
this.infoLog(String.format("清理交卷未删除的会话:%s", sessionKey), examRecordDataId);
|
|
}
|
|
}
|
|
- redisClient.delete(RedisKeyHelper.getBuilder().examingSessionKey(examRecordData.getStudentId()));
|
|
|
|
|
|
|
|
//清除文件作答和普通作答记录缓存
|
|
//清除文件作答和普通作答记录缓存
|
|
Integer quesCount = examRecordData.getQuestionCount();
|
|
Integer quesCount = examRecordData.getQuestionCount();
|