于紫祥_1901
2020-12-24 f28149d8183a62f87fa9c8df9ae589070d83f612
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();
    List<Device> getDevicesByAccountId(String id);
}