| | |
| | | return null; |
| | | } |
| | | /** |
| | | *分页查询设备的以及下属传感器数据的状态统计 |
| | | * @return |
| | | */ |
| | | public static BaseResponse<List<FindDeviceStatisticsResponse> > findDeviceStatistics(FindDeviceStatisticsRequest param){ |
| | | log.info("【分页查询设备的以及下属传感器数据的状态统计】================开始===="+JSONObject.toJSONString(param)); |
| | | try { |
| | | String res = HKTools.findDeviceStatistics(JSONObject.toJSONString(param)); |
| | | TypeReference typeReference = |
| | | new TypeReference< BaseResponse<List<FindDeviceStatisticsResponse> >>(){}; |
| | | BaseResponse<List<FindDeviceStatisticsResponse> > result = JSONObject.parseObject(res, typeReference.getType()); |
| | | logResult(result,"分页查询设备的以及下属传感器数据的状态统计"); |
| | | return result; |
| | | }catch (Exception e){ |
| | | log.error("【分页查询设备的以及下属传感器数据的状态统计】================失败====:\n"+ e.getMessage()); |
| | | } |
| | | return null; |
| | | } |
| | | /** |
| | | *消防看板-4报警信息统计 |
| | | * @return |
| | | */ |