于紫祥_1901
2020-11-06 0099e6c9db0c858cb6905477830c79305dca39bb
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,9 @@
    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);
}