| | |
| | | } |
| | | 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 |