jinpengyong
2020-08-06 9880d87f87b074b45150a66867c0d1870e6cb3e2
src/main/java/com/moral/service/impl/MonitorPointServiceImpl.java
@@ -796,5 +796,26 @@
        return params;
    }
    @Override
    public JSONObject getMacList(int monitPointId) {
        JSONObject params = new JSONObject();
        MonitorPoint monitorPoint = monitorPointMapper.getMonitorPointById(monitPointId);
        //获取厂界所有设备
        List<Device> deviceList = deviceService.getDeviceById2(monitPointId);
        params.put("longitudeCompany",monitorPoint.getLongitude());
        params.put("latitudeCompany",monitorPoint.getLatitude());
        params.put("latitudeCompany",monitorPoint.getLatitude());
        params.put("monitPointId",monitPointId);
        params.put("deviceList",deviceList);
        return params;
    }
    @Override
    public List<MonitorPoint> getMonitorPointListByAccountId(int id) {
        return monitorPointMapper.getMonitorPointListByAccountId(id);
    }
}