|
@@ -167,20 +167,12 @@ public class SyncExamRecordDataJobHandler {
|
|
|
List<ExamCaptureBean> captures = commonService.getExamCaptures(examRecordDataId);
|
|
|
syncReq.setExamCaptures(captures);
|
|
|
|
|
|
- // 是否开启“虚拟摄像头进入待审” VIRTUAL_CAMERA_AUDIT_ENABLED
|
|
|
- boolean virtualCameraAuditEnabled = examRecordDataService.isVirtualToWaiting(examId);
|
|
|
- if (virtualCameraAuditEnabled) {
|
|
|
- boolean hasVirtualCamera = captures.stream().anyMatch(e -> e.getHasVirtualCamera() != null && e.getHasVirtualCamera());
|
|
|
- if (syncCapture == null || hasVirtualCamera) {
|
|
|
- // 没有同步抓拍照片处理结果 或 存在虚拟摄像头,则进入待审
|
|
|
- examRecordDataCache.setIsWarn(true);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
// S1 FACE_ID FaceID活体检测方案(即旧活体检测方案)
|
|
|
syncReq.setExamFaceLivenessVerifies(commonService.getExamFaceLivenessVerifies(examRecordDataId));
|
|
|
+
|
|
|
// S2 FACE_MOTION 自研活体检测方案【已废弃】
|
|
|
syncReq.setFaceBiopsy(commonService.getFaceBiopsy(examRecordDataId));
|
|
|
+
|
|
|
// S3 FACE_CLIENT C端活体检测方案
|
|
|
syncReq.setFaceLiveVerifyRecords(commonService.getFaceLiveVerifyRecords(examRecordDataId));
|
|
|
}
|