| | |
| | | return null; |
| | | } |
| | | /** |
| | | *海康1.4.7.3按业务编号查询下发记录 |
| | | * @return |
| | | */ |
| | | public static BaseResponse<AuthResultPageResponse> authResultPage(AuthResultPageRequest param){ |
| | | log.info("【海康按业务编号查询下发记录】================开始===="+JSONObject.toJSONString(param)); |
| | | String res = null; |
| | | try { |
| | | res = HKTools.authResultPage(JSONObject.toJSONString(param)); |
| | | TypeReference typeReference = |
| | | new TypeReference< BaseResponse<AuthResultPageResponse> >(){}; |
| | | BaseResponse<AuthResultPageResponse> result = JSONObject.parseObject(res, typeReference.getType()); |
| | | logResult(result,"海康按业务编号查询下发记录"); |
| | | return result; |
| | | }catch (Exception e){ |
| | | log.error("【海康按业务编号查询下发记录】================失败====:\n"+ e.getMessage()); |
| | | }finally { |
| | | // saveInterfaceLog(param,res); |
| | | } |
| | | return null; |
| | | } |
| | | /** |
| | | *海康一卡通任务开始执行 |
| | | * @return |
| | | */ |
| | |
| | | *分页获取广播点(分页) |
| | | * @return |
| | | */ |
| | | public static BaseResponse<BaseListPageResponse<FetchAudioChannelInfoResponse>> fetchAudioDevice(FetchAudioChannelRequest param){ |
| | | log.info("【海康获取分页获取广播点】================开始===="+JSONObject.toJSONString(param)); |
| | | public static BaseResponse<BaseListPageResponse<FetchAudioDeviceInfoResponse>> fetchAudioDevice(FetchAudioDeviceRequest param){ |
| | | log.info("【海康获取分页获取广播设备】================开始===="+JSONObject.toJSONString(param)); |
| | | try { |
| | | String res = HKTools.fetchAudioDevice(JSONObject.toJSONString(param)); |
| | | TypeReference typeReference = |
| | | new TypeReference< BaseResponse<BaseListPageResponse<FetchAudioChannelInfoResponse>> >(){}; |
| | | BaseResponse<BaseListPageResponse<FetchAudioChannelInfoResponse>> result = JSONObject.parseObject(res, typeReference.getType()); |
| | | logResult(result,"海康获取分页获取广播点"); |
| | | new TypeReference< BaseResponse<BaseListPageResponse<FetchAudioDeviceInfoResponse>> >(){}; |
| | | BaseResponse<BaseListPageResponse<FetchAudioDeviceInfoResponse>> result = JSONObject.parseObject(res, typeReference.getType()); |
| | | logResult(result,"海康获取分页获取广播设备"); |
| | | return result; |
| | | }catch (Exception e){ |
| | | log.error("【海康获取分页获取广播点】================失败====:\n"+ e.getMessage()); |
| | | log.error("【海康获取分页获取广播设备】================失败====:\n"+ e.getMessage()); |
| | | } |
| | | return null; |
| | | } |