| | |
| | | public ResultBean<List<Map<String, Object>>> getMonitorPointOrDeviceAvgData(HttpServletRequest request) |
| | | throws Exception { |
| | | Map<String, Object> parameters = getParametersStartingWith(request, null); |
| | | //该方法用于判断时间是具体到年月日 |
| | | ParameterUtils.getTimeType4Time(parameters); |
| | | parameters.put("monitorPointId", parameters.remove("monitorPoint")); |
| | | Object sensorKey = parameters.remove("sensorKey"); |
| | |
| | | return new ResultBean<List<Map<String, Object>>>(list); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | @GetMapping("report_alarm_datas") |
| | | public ResultBean<List<Map<String, Object>>> getAlarmData(HttpServletRequest request) throws Exception { |
| | | Map<String, Object> parameters = getParametersStartingWith(request, null); |