|
@@ -134,8 +134,8 @@ public class ExamSkipFaceServiceImpl implements ExamSkipFaceService {
|
|
|
boolean isFaceCheck = isFaceCheckProperty != null && StringUtil.isTrue(isFaceCheckProperty.getValue());
|
|
|
|
|
|
if (!isFaceEnable || !isFaceCheck) {
|
|
|
- log.warn("当前考试未开启强制人脸验证,无需设置!examId:{} isFaceEnable:{} isFaceCheck:{}", examId, isFaceEnable, isFaceCheck);
|
|
|
- throw new StatusException("当前考试未开启强制人脸验证,无需设置!");
|
|
|
+ log.warn("当前考试尚未开启强制人脸验证,无需设置!examId:{} isFaceEnable:{} isFaceCheck:{}", examId, isFaceEnable, isFaceCheck);
|
|
|
+ throw new StatusException("当前考试尚未开启强制人脸验证!");
|
|
|
}
|
|
|
|
|
|
List<ExamSkipFaceEntity> exists = examSkipFaceRepo.findByExamIdAndExamStudentIdIn(examId, Arrays.asList(examStudentIds));
|