Kaynağa Gözat

活检bug fix

lideyin 5 yıl önce
ebeveyn
işleme
4611fb627d

+ 4 - 1
examcloud-core-oe-task-service/src/main/java/cn/com/qmth/examcloud/core/oe/task/service/pipeline/SyncExamDataExecutor.java

@@ -6,6 +6,7 @@ import cn.com.qmth.examcloud.commons.helpers.pipeline.NodeExecuter;
 import cn.com.qmth.examcloud.commons.helpers.pipeline.TaskContext;
 import cn.com.qmth.examcloud.commons.logging.ExamCloudLog;
 import cn.com.qmth.examcloud.commons.logging.ExamCloudLogFactory;
+import cn.com.qmth.examcloud.commons.util.JsonUtil;
 import cn.com.qmth.examcloud.core.oe.admin.api.SyncExamDataCloudService;
 import cn.com.qmth.examcloud.core.oe.admin.api.bean.*;
 import cn.com.qmth.examcloud.core.oe.admin.api.request.SyncExamDataReq;
@@ -314,6 +315,8 @@ public class SyncExamDataExecutor implements NodeExecuter<Long, ExamRecordData,
             return new ArrayList<>();
         }
 
+        debugLog("the result joson of method getExamFaceLivenessVerifies is :"+ JsonUtil.toJson(resp),examRecordDataId);
+
         List<ExamFaceLivenessVerifyBean> resultList = new ArrayList<>();
         for (cn.com.qmth.examcloud.core.oe.student.api.bean.ExamFaceLivenessVerifyBean eflvb : resp.getExamFaceLivenessVerifis()) {
             ExamFaceLivenessVerifyBean bean = new ExamFaceLivenessVerifyBean();
@@ -324,7 +327,7 @@ public class SyncExamDataExecutor implements NodeExecuter<Long, ExamRecordData,
             bean.setResultJson(eflvb.getResultJson());
             bean.setVerifyResult(eflvb.getVerifyResult());
             bean.setBizId(eflvb.getBizId());
-            bean.setError(eflvb.getError());
+            bean.setIsError(eflvb.getIsError());
             bean.setErrorMsg(eflvb.getErrorMsg());
             bean.setOperateNum(eflvb.getOperateNum());