| | |
| | | Map<String, Object> account = accountService.getOrganizationIdByAccountId(id);
|
| | | //通过组织id来获取站点和设备信息
|
| | | account.put("sensor", sensor);
|
| | | List<Map<String, Object>> returnList = historyService.getMointorPointRankByOrganizationId(account);
|
| | | List<Map<String, Object>> rankList = historyService.getMointorPointRankByOrganizationId(account);
|
| | | List<Map<String, Object>> returnList = new ArrayList<>();
|
| | | for (Map<String, Object> map : rankList) {
|
| | | boolean contains = map.containsKey("sensor");
|
| | | if (contains) {
|
| | | returnList.add(map);
|
| | | }
|
| | | }
|
| | | return new ResultBean<List<Map<String, Object>>>(returnList);
|
| | | }
|
| | |
|
| | |
| | | break;
|
| | | }
|
| | | }
|
| | | System.out.println(organizationIdList);
|
| | |
|
| | | //根据组织id获取站点id
|
| | | List<Map<String, Object>> monitorPointIdListMap = monitorPointMapper.getIdByOrganizationId(organizationIdList);
|