|
@@ -117,8 +117,11 @@ public class SyncExamDataExecutor implements NodeExecuter<Long, ExamRecordData,
|
|
|
|
|
|
//同步数据
|
|
//同步数据
|
|
SyncExamDataReq syncReq = new SyncExamDataReq();
|
|
SyncExamDataReq syncReq = new SyncExamDataReq();
|
|
|
|
+
|
|
syncReq.setExamRecordData(copyExamRecordDataFrom(examRecordData));
|
|
syncReq.setExamRecordData(copyExamRecordDataFrom(examRecordData));
|
|
|
|
+
|
|
syncReq.setExamRecordPaperStruct(getExamRecordPaperStruct(examRecordDataId));
|
|
syncReq.setExamRecordPaperStruct(getExamRecordPaperStruct(examRecordDataId));
|
|
|
|
+
|
|
syncReq.setExamRecordQuestions(getExamRecordQuestions(examRecordDataId));
|
|
syncReq.setExamRecordQuestions(getExamRecordQuestions(examRecordDataId));
|
|
|
|
|
|
//开启人脸检测相关数据赋值
|
|
//开启人脸检测相关数据赋值
|
|
@@ -126,10 +129,12 @@ public class SyncExamDataExecutor implements NodeExecuter<Long, ExamRecordData,
|
|
Long examId = examRecordData.getExamId();
|
|
Long examId = examRecordData.getExamId();
|
|
if (FaceBiopsyHelper.isFaceEnable(rootOrgId, examId, studentId)) {
|
|
if (FaceBiopsyHelper.isFaceEnable(rootOrgId, examId, studentId)) {
|
|
syncReq.setExamCaptures(getExamCaptures(examRecordDataId));
|
|
syncReq.setExamCaptures(getExamCaptures(examRecordDataId));
|
|
|
|
+
|
|
syncReq.setExamSyncCapture(getExamSyncCapture(examRecordDataId));
|
|
syncReq.setExamSyncCapture(getExamSyncCapture(examRecordDataId));
|
|
|
|
|
|
if (FaceBiopsyHelper.isFaceVerify(rootOrgId, examId, studentId)) {
|
|
if (FaceBiopsyHelper.isFaceVerify(rootOrgId, examId, studentId)) {
|
|
syncReq.setExamFaceLivenessVerifies(getExamFaceLivenessVerifies(examRecordDataId));
|
|
syncReq.setExamFaceLivenessVerifies(getExamFaceLivenessVerifies(examRecordDataId));
|
|
|
|
+
|
|
syncReq.setFaceBiopsy(getFaceBiopsy(examRecordDataId));
|
|
syncReq.setFaceBiopsy(getFaceBiopsy(examRecordDataId));
|
|
}
|
|
}
|
|
}
|
|
}
|