于紫祥_1901
2020-06-24 eca101124f17c62607a007ee34bf1ccd72a3c566
src/main/java/com/moral/mapper/DeviceMapper.java
@@ -8,6 +8,7 @@
import com.moral.common.mapper.BaseMapper;
import com.moral.entity.Device;
import tk.mybatis.mapper.entity.Example;
public interface DeviceMapper extends BaseMapper<Device>{
@@ -38,4 +39,16 @@
   List<Device> getDevicesByOrganizationId(Map<String, Object> parameters);
   List<Map<String, Object>> getDevicesStateByRegion(Map<String, Object> parameters);
   List<Device> getDeviceList(Example example);
   String getLimitDataByDevice(Map<String, Object> parameters);
    List<String> getMacsByOrganizationId(@Param("organizationIdList") List<Object> organizationIdList);
   List<Device> getDeviceById1(@Param("id") int id);
   //获取厂界设备
   List<Device> getDeviceById2(@Param("id") int id);
   List<Device> getDeviceById3(@Param("id") int id);
}