|
@@ -4,7 +4,6 @@ import cn.com.qmth.examcloud.core.oe.student.dao.ExamRecordDataRepo;
|
|
|
import cn.com.qmth.examcloud.core.oe.student.dao.entity.ExamRecordDataEntity;
|
|
|
import cn.com.qmth.examcloud.core.oe.task.service.ExamRecordDataService;
|
|
|
import cn.com.qmth.examcloud.support.CacheConstants;
|
|
|
-import cn.com.qmth.examcloud.support.Constants;
|
|
|
import cn.com.qmth.examcloud.support.enums.ExamRecordStatus;
|
|
|
import cn.com.qmth.examcloud.support.examing.ExamRecordData;
|
|
|
import cn.com.qmth.examcloud.web.exception.SequenceLockException;
|
|
@@ -51,7 +50,7 @@ public class AfterHandInExamJobHandler {
|
|
|
|
|
|
int curTodoIndex = 0;
|
|
|
for (ExamRecordDataEntity data : todoList) {
|
|
|
- final String lockKey = Constants.EXAM_CONTROL_LOCK_PREFIX + data.getStudentId();
|
|
|
+ final String lockKey = CacheConstants.LOCK_EXAM_CONTROL + data.getStudentId();
|
|
|
try {
|
|
|
SequenceLockHelper.getLockSimple(lockKey);
|
|
|
|