浏览代码

新活检bug fix

lideyin 5 年之前
父节点
当前提交
6012f1f4ab

+ 1 - 1
examcloud-core-oe-face-service/src/main/java/cn/com/qmth/examcloud/core/oe/student/face/service/impl/ExamCaptureServiceImpl.java

@@ -496,7 +496,7 @@ public class ExamCaptureServiceImpl implements ExamCaptureService {
                     errorMsg = "检测过程中相片非本人,且存在多人脸";
                 } else if (hasStranger) {
                     errorMsg = "检测过程中多人脸失败";
-                } else if (isPass) {
+                } else if (!isPass) {
                     errorMsg = "检测过程中相片非本人";
                 }
                 compareFaceSyncInfo.setErrorMsg(errorMsg);