Browse Source

龙洞堡机场进出记录verifytype=3也能存为进出记录

王鑫刚 4 months ago
parent
commit
00be8593e5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/yx/face/service/impl/FaceTBServiceImpl.java

+ 1 - 1
src/main/java/com/yx/face/service/impl/FaceTBServiceImpl.java

@@ -686,7 +686,7 @@ public class FaceTBServiceImpl implements FaceTBService {
             faceLog.setVerifyScore(verify_score);
             faceLog.setCreateTime(now);
             log.info("进出记录推送内容,姓名:{}, 身份证:{}, 设备号:{}", faceLog.getName(), faceLog.getCardid(), faceLog.getDeviceSn());
-            if (verifytype == 0 || verifytype == 2) {
+            if (verifytype == 0 || verifytype == 2 || verifytype == 3) {
                 //长期通行记录
                 faceLogDao.insertSelective(faceLog);