package com.czg.service.account.mapper;

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

import java.util.List;

/**
 * 系统菜单 映射层。
 *
 * @author Administrator
 * @since 2025-02-10
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    List<SysMenu> selectByUserId(@Param("userId") Long userId, @Param("type") Integer type);

    List<SysMenu> selectByRoleId(@Param("roleId") Long roleId);
}
