package com.czg.service.account.mapper;

import com.czg.account.entity.SysRole;
import com.mybatisflex.core.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 角色表 映射层。
 *
 * @author Administrator
 * @since 2025-02-08
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<SysRole> selectByUserId(@Param("userId") Long id);
}
