| | |
| | | public static BaseResponse delFace(List<FaceEditRequest> param){ |
| | | log.info("【海康删除人脸信息】================开始===="+JSONObject.toJSONString(param)); |
| | | try { |
| | | String res = HKTools.editFace(JSONObject.toJSONString(param)); |
| | | String res = HKTools.delFace(JSONObject.toJSONString(param)); |
| | | TypeReference typeReference = |
| | | new TypeReference< BaseResponse>(){}; |
| | | BaseResponse result = JSONObject.parseObject(res, typeReference.getType()); |
| | |
| | | return null; |
| | | } |
| | | /** |
| | | *过车记录查询(分页) |
| | | * @return |
| | | */ |
| | | public static BaseResponse<BaseListPageResponse<ParkCrossRecordInfoResponse>> parkCrossRecords(ParkCrossRecordListRequest param){ |
| | | log.info("【海康过车记录查询查询】================开始===="+JSONObject.toJSONString(param)); |
| | | try { |
| | | String res = HKTools.parkCrossRecords(JSONObject.toJSONString(param)); |
| | | TypeReference typeReference = |
| | | new TypeReference< BaseResponse<BaseListPageResponse<ParkCrossRecordInfoResponse>> >(){}; |
| | | BaseResponse<BaseListPageResponse<ParkCrossRecordInfoResponse>> result = JSONObject.parseObject(res, typeReference.getType()); |
| | | logResult(result,"海康过车记录查询查询"); |
| | | return result; |
| | | }catch (Exception e){ |
| | | log.error("【海康过车记录查询查询】================失败====:\n"+ e.getMessage()); |
| | | } |
| | | return null; |
| | | } |
| | | /** |
| | | *增量车辆查询(分页) |
| | | * @return |
| | | */ |