| | |
| | | ResultBean resultBean = new ResultBean(parameters);
|
| | | return resultBean;
|
| | | }
|
| | | |
| | | @GetMapping("mointorPointRank")
|
| | | @ApiOperation(value = "获取站点排名", notes = "获取站点排名")
|
| | | @ApiImplicitParams(value = {
|
| | | @ApiImplicitParam(name = "accountId", value = "账号id", required = true, paramType = "query", dataType = "String")
|
| | | })
|
| | | public ResultBean<Map<String, Object>> getMointorPointRank(HttpServletRequest request){
|
| | | Map<String, Object> parameters = WebUtils.getParametersStartingWith(request, null);
|
| | | String id = parameters.get("accountId").toString();
|
| | | Map<String, Object> account = accountService.getOrganizationIdByAccountId(id);
|
| | | //通过组织id来获取站点和设备信息
|
| | | System.out.println(account);
|
| | | historyService.getMointorPointRankByOrganizationId(account);
|
| | | return new ResultBean<Map<String, Object>>(account);
|
| | | }
|
| | |
|
| | | }
|