From 296d509996b9500c35be0b81860fa14c1d275048 Mon Sep 17 00:00:00 2001 From: kaiyu <404897439@qq.com> Date: Tue, 01 Dec 2020 10:47:51 +0800 Subject: [PATCH] 更改五分钟数据接口,添加界面左侧站点设备信息接口 --- src/main/java/com/moral/mapper/DeviceMapper.java | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/moral/mapper/DeviceMapper.java b/src/main/java/com/moral/mapper/DeviceMapper.java index 3e19f58..a30d2e1 100644 --- a/src/main/java/com/moral/mapper/DeviceMapper.java +++ b/src/main/java/com/moral/mapper/DeviceMapper.java @@ -71,12 +71,12 @@ Device byMacGetDevice(@Param("mac") String mac); - DeviceAndWind getDeviceAndWindByMac(@Param("mac") String mac, @Param("time") String time, + DeviceAndWind getDeviceAndWindByMac(@Param("mac") String mac, @Param("table") String table); - List<DeviceAndWind> byMonitorIdGetDeviceAndWind(@Param("id") int id, @Param("time") String time, @Param("table") String table); + List<DeviceAndWind> byMonitorIdGetDeviceAndWind(@Param("id") int id, @Param("table") String table); - DeviceAndWind byMacGetDeviceAndWind(@Param("mac") String mac, @Param("time") String time, @Param("table") String table); + DeviceAndWind byMacGetDeviceAndWind(@Param("mac") String mac, @Param("table") String table); List<String> getMacsByMonitorPointIds(List<Integer> list); @@ -86,5 +86,14 @@ List<Device> getDeviceByCodeAndId(@Param("code") String code, @Param("id") String id); + List<Map<String, Object>> getDevicesByMpId(int mpId); + String byMacGetOrgId(String mac); + + List<Device> getDevice(String macOrName); + + + List<Device> getDeviceByCityCode(); + + } \ No newline at end of file -- Gitblit v1.8.0