package net.maku.system.dao; import net.maku.framework.common.dao.BaseDao; import net.maku.system.entity.SysMenuEntity; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 菜单管理 * * @author 阿沐 babamu@126.com */ @Mapper public interface SysMenuDao extends BaseDao { /** * 查询所有菜单列表 * * @param type 菜单类型 */ List getMenuList(@Param("type") Integer type); /** * 查询用户菜单列表 * * @param userId 用户ID * @param type 菜单类型 */ List getUserMenuList(@Param("userId") Long userId, @Param("type") Integer type); /** * 查询用户权限列表 * @param userId 用户ID */ List getUserAuthorityList(@Param("userId") Long userId); /** * 查询所有权限列表 */ List getAuthorityList(); }