package com.codvision.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.codvision.auth.entity.SysRole;
import com.codvision.auth.entity.vo.SysRoleVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 系统角色 Mapper 接口
 * </p>
 *
 * @author lingee
 * @since 2023-11-09
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    /**
     * 根据角色id获取角色详情
     *
     * @param roleId 角色id
     * @return 角色详情
     */
    SysRoleVO getRoleDetail(@Param("roleId") Integer roleId);
}
