于紫祥_1901
2020-06-23 235a2be052544e41cef217920d4e55fee730995e
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>{
@@ -37,4 +38,17 @@
   List<Device> getDevicesByProfession(Map<String, Object> parameters);
   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);
}