From 8a16116027464d17e800cd070d256aff59350b7d Mon Sep 17 00:00:00 2001 From: kaiyu <404897439@qq.com> Date: Mon, 16 Nov 2020 15:50:32 +0800 Subject: [PATCH] 更改监测因子趋势图M --- 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