| | |
| | | if (!params.containsKey("monitorPointIds")) { |
| | | return ResultMessage.fail(ResponseCodeEnum.PARAMETERS_IS_MISSING.getCode(), ResponseCodeEnum.PARAMETERS_IS_MISSING.getMsg()); |
| | | } |
| | | String[] monitorPointIds = params.remove("monitorPointIds").toString().split(","); |
| | | String monitorPoint = params.remove("monitorPointIds").toString(); |
| | | /*if(monitorPoint.contains("")){ |
| | | |
| | | }*/ |
| | | String[] monitorPointIds = monitorPoint.split(","); |
| | | if (monitorPointIds.length > 3) { |
| | | return ResultMessage.ok(); |
| | | } |
| | | |
| | | params.put("monitorPointIds", monitorPointIds); |
| | | List<Object> response = historyFiveMinutelyService.getAreaWindData(params); |
| | | return ResultMessage.ok(response); |