package com.sandu.ximon.dao.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.sandu.ximon.dao.domain.Pole;
|
import com.sandu.ximon.dao.domain.PoleBinding;
|
import org.apache.ibatis.annotations.Mapper;
|
|
/**
|
* @Entity com.sandu.ximon.dao.domain.PoleBinding
|
*/
|
@Mapper
|
public interface PoleBindingMapper extends BaseMapper<PoleBinding> {
|
|
|
/**
|
* 根据绑定关系查询设备归属
|
*/
|
|
Pole getPoleByBinding(String type, Object Mac, Long userId);
|
|
}
|