package cn.xluobo.business.sys.admin.repo.mapper;

import cn.xluobo.business.sys.admin.model.SysUserTenant;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户所属租户 Mapper 接口
 * </p>
 *
 * @author zhangby
 * @since 2020-01-12
 */
public interface ISysUserTenantMapper extends BaseMapper<SysUserTenant> {

    Long selectUserDefaultTenant(@Param("userId") Long userId);

}
