package org.dromara.system.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.system.domain.SysTenant;
import org.dromara.system.domain.vo.SysTenantVo;

import java.util.List;

/**
 * 租户Mapper接口
 *
 * @author Michelle.Chung
 */
public interface SysTenantMapper extends BaseMapperPlus<SysTenant, SysTenantVo> {


    @InterceptorIgnore(tenantLine = "true", dataPermission = "false")
    List<SysTenantVo> selectVoListByUserName(Long userId);
}
