rk
5 天以前 7b95d5cd6cb9cb6ce48c0d4667d5e3f2334012b3
server/visits/dmvisit_service/src/main/java/com/doumee/core/haikang/service/HKService.java
@@ -1206,8 +1206,6 @@
//            return "https://10.50.250.253:443/xauthplus-plugin/thirdLogin?type=third&service=https://10.50.250.253:443/cems/config/generalCard&token="+token;
        }else if(Constants.equalsInteger(type,7)){
            menuId = HKConstants.MenuPageId.hqzx;
            componentId = "";
//            return "https://10.50.250.253:443/portal/ui/index?menuId=002656&token="+token;
        }
        log.info("【海康获取工作台菜单免密登陆调整地址】================开始====menuId:"+menuId+"==token:"+token);
        try {
@@ -1918,6 +1916,23 @@
        }
        return  null;
    }
    public  static  BaseResponse<SensorStatusStatisticResponse>   sensorStatusStatistic(){
        log.info("【消防维保定制-设备维保情况】================开始====");
        try {
            String res = HKTools.sensorStatusStatistic(null);
            TypeReference typeReference =
                    new TypeReference< BaseResponse<SensorStatusStatisticResponse>>(){};
            BaseResponse<SensorStatusStatisticResponse>   result = JSONObject.parseObject(res, typeReference.getType());
            logResult(result,"海康消防维保统计");
            return  result;
        }catch (Exception e){
            log.error("【消防维保定制-设备维保情况】================失败====:\n"+ e.getMessage());
        }
        return  null;
    }
    /**
     *本月新增维保设备数
     * api_fire_statistic_month