浏览代码

刷脸失败

yang 3 年之前
父节点
当前提交
6de566c9d7

+ 8 - 1
huimv-farm-video/src/main/java/com/huimv/video/dhicc/controller/ClientController/ClientPersonManageController.java

@@ -30,9 +30,16 @@ import java.util.Map;
 public class ClientPersonManageController {
 
 
-    //
+    //刷脸失败记录
     @RequestMapping("/getPersonOpenDoorFail")
     public R getAccidentRecord(@RequestBody Map<String, Object> params1 ) throws ClientException {
+        Integer farmId= (int) params1.get("farmId");
+        if(farmId!=1){
+            //返回为空数据
+            return  null;
+        }
+
+
         SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
         Calendar c = Calendar.getInstance();
         Date date = new Date();