|
@@ -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();
|