|
@@ -462,11 +462,16 @@ public class ExamControlServiceImpl implements ExamControlService {
|
|
Long examId = examRecordData.getExamId();
|
|
Long examId = examRecordData.getExamId();
|
|
|
|
|
|
if (FaceBiopsyHelper.isFaceEnable(rootOrgId, examId, studentId)) {
|
|
if (FaceBiopsyHelper.isFaceEnable(rootOrgId, examId, studentId)) {
|
|
- // 更新照片抓拍队列优先级为高优先级
|
|
|
|
- UpdateExamCaptureQueuePriorityReq req = new UpdateExamCaptureQueuePriorityReq();
|
|
|
|
- req.setExamRecordDataId(examRecordDataId);
|
|
|
|
- req.setPriority(Constants.PROCESS_CAPTURE_HIGH_PRIORITY);
|
|
|
|
- examCaptureCloudService.updateExamCaptureQueuePriority(req);
|
|
|
|
|
|
+ //更新照片处理的优先级不影响交卷业务
|
|
|
|
+ try {
|
|
|
|
+ // 更新照片抓拍队列优先级为高优先级
|
|
|
|
+ UpdateExamCaptureQueuePriorityReq req = new UpdateExamCaptureQueuePriorityReq();
|
|
|
|
+ req.setExamRecordDataId(examRecordDataId);
|
|
|
|
+ req.setPriority(Constants.PROCESS_CAPTURE_HIGH_PRIORITY);
|
|
|
|
+ examCaptureCloudService.updateExamCaptureQueuePriority(req);
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ log.error("[HAND_IN_EXAM-" + examRecordDataId + "]更新照片优先级时,出现异常", e);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
} else if (handInExamType == HandInExamType.AUTO) {
|
|
} else if (handInExamType == HandInExamType.AUTO) {
|
|
examRecordData.setExamRecordStatus(ExamRecordStatus.EXAM_AUTO_HAND_IN);
|
|
examRecordData.setExamRecordStatus(ExamRecordStatus.EXAM_AUTO_HAND_IN);
|