doum
13 小时以前 18ab70b5f19fce88ba91c08689f2f39bb9784ecf
server/visits/dmvisit_service/src/main/java/com/doumee/core/haikang/service/HKService.java
@@ -764,6 +764,27 @@
        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
     */
@@ -1403,17 +1424,17 @@
     *分页获取广播点(分页)
     * @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;
    }