package cn.xluobo.business.sys.admin.service.impl;

import cn.xluobo.business.sys.admin.model.SysUserTenant;
import cn.xluobo.business.sys.admin.repo.mapper.ISysUserTenantMapper;
import cn.xluobo.business.sys.admin.service.ISysUserTenantService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户所属租户 服务实现类
 * </p>
 *
 * @author zhangby
 * @since 2020-01-12
 */
@Service
public class ISysUserTenantServiceImpl extends ServiceImpl<ISysUserTenantMapper, SysUserTenant> implements ISysUserTenantService {

    @Override
    public Long selectUserDefaultTenant(Long userId) {
        return baseMapper.selectUserDefaultTenant(userId);
    }
}
