deason 1 năm trước cách đây
mục cha
commit
0a972f575a

+ 3 - 2
examcloud-core-oe-task-service/src/main/java/cn/com/qmth/examcloud/core/oe/task/service/impl/ExamRecordDataServiceImpl.java

@@ -131,7 +131,7 @@ public class ExamRecordDataServiceImpl implements ExamRecordDataService {
             // 判断是否存在未处理的抓拍照片比对
             int queueSize = examCaptureQueueRepo.countByExamRecordDataId(examRecordData.getId());
             if (queueSize > 0) {
-                final String lockKey = CacheConstants.LOCK_FACE_COMPARE + examRecordData.getId();
+                /*final String lockKey = CacheConstants.LOCK_FACE_COMPARE + examRecordData.getId();
                 try {
                     SequenceLockHelper.getLockSimple(lockKey);
 
@@ -155,7 +155,8 @@ public class ExamRecordDataServiceImpl implements ExamRecordDataService {
                     if (queueSize > 0) {
                         throw new StatusException(Constants.CAPTURE_PROCESSING_STATUS_CODE, "抓拍照片比对尚未处理完,稍后重试!");
                     }
-                }
+                }*/
+                throw new StatusException(Constants.CAPTURE_PROCESSING_STATUS_CODE, "抓拍照片比对尚未处理完,稍后重试!");
             }
 
             // 计算人脸抓拍比对验证结果