package com.njcn.gather.user.user.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import com.njcn.gather.user.user.pojo.po.SysRole;
import com.njcn.gather.user.user.pojo.po.SysUserRole;

import java.util.List;

/**
 * @author caozehui
 * @date 2024-11-12
 */
public interface SysUserRoleMapper extends MPJBaseMapper<SysUserRole> {
    /**
     * 根据用户id获取角色详情
     *
     * @param userId 用户id
     * @return 角色结果集
     */
    List<SysRole> getRoleListByUserId(String userId);
}

