From 8bb0e02e8fd166f35782870983fd2140142df409 Mon Sep 17 00:00:00 2001 From: kaiyu <404897439@qq.com> Date: Mon, 30 Nov 2020 15:52:12 +0800 Subject: [PATCH] 获取账户地图信息添加权限校验 --- src/main/java/com/moral/service/MonitorPointService.java | 35 ++++++++++++++++++++++++++++++++++- 1 files changed, 34 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/moral/service/MonitorPointService.java b/src/main/java/com/moral/service/MonitorPointService.java index 452a257..e100815 100644 --- a/src/main/java/com/moral/service/MonitorPointService.java +++ b/src/main/java/com/moral/service/MonitorPointService.java @@ -1,10 +1,15 @@ package com.moral.service; +import java.util.Collection; import java.util.List; import java.util.Map; +import java.util.Set; +import com.alibaba.fastjson.JSONObject; import com.moral.common.bean.PageBean; +import com.moral.entity.Device; import com.moral.entity.MonitorPoint; +import org.apache.xmlbeans.impl.jam.mutable.MPackage; public interface MonitorPointService { @@ -23,9 +28,37 @@ List<MonitorPoint> getMonitorPointsByName(String name); List<Map<String,String>> queryMonitroPointsState(List<Integer> idList); - List<MonitorPoint> getMonitorPointsByOrganizationId(Integer orgId); + Integer countOfSubOrgs(Integer orgId); + + List<MonitorPoint> getMonitorPointsByOrganizationId(Integer orgId); + + List<MonitorPoint> getMonitorPointsByOrganizationIds(Set<Integer> orgIds); List<MonitorPoint> getMonitorPointsByRegion(Map<String, Object> parameters); List<Integer> queryVersionsById(Integer id); + + MonitorPoint queryMonitorPointById(Integer mpointId); + + List<MonitorPoint> getMonitorPointsAndDevicesByRegion(Map<String, Object> parameters); + + Collection<Object> getDevicesStateByRegion(Map<String, Object> parameters); + + void isCompensateCalculation(Map<String, Object> parameters); + + Map<String, Object> selectAllById(String id); + + //������monitorPointId������������������������������������ + List<Device> getDeviceList(int id); + + //���������������������������id + JSONObject getMonitorPointById(int id, String Time, int i, String sensor); + + JSONObject getMacList(int id); + + List<MonitorPoint> getMonitorPointListByAccountId(int id); + + MonitorPoint byIdGetMonitorPoint(int id); + + String getOrgIdByMac(String mac); } -- Gitblit v1.8.0