package com.moral.mapper; import java.util.List; import java.util.Map; import org.apache.ibatis.annotations.Param; import com.moral.common.mapper.BaseMapper; import com.moral.entity.Device; import tk.mybatis.mapper.entity.Example; public interface DeviceMapper extends BaseMapper{ List> getDeviceStatesByAccount(Map parameters); List selectWithRelationData(Example example); List getDeviceMacByMonitorPointAndDeviceVersion(@Param("monitorPointId")Integer monitorPointId,@Param("deviceVersionId")Integer deviceVersionId); List> getDeviceVersionIdByMonitorPoint(Integer monitorPointId); }