package com.jwipc.sys.mapper;

import com.jwipc.sys.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * <p>
 * 角色表 Mapper 接口
 * </p>
 *
 * @author zhangjie
 * @since 2024-01-27
 */
public interface RoleMapper extends BaseMapper<Role> {

    List<Role> getUserRoles(@Param("id") Long id);
}
