| | |
| | | package com.ruoyi.system.mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.ruoyi.system.pojo.vo.MenuTreeVO; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import com.ruoyi.common.core.domain.entity.SysMenu; |
| | | |
| | |
| | | * @return 结果 |
| | | */ |
| | | public SysMenu checkMenuNameUnique(@Param("menuName") String menuName, @Param("parentId") Long parentId); |
| | | |
| | | List<MenuTreeVO> selectMenusByParentId(@Param("menuId")Long menuId); |
| | | |
| | | List<MenuTreeVO> getAllRootMenu(); |
| | | |
| | | List<SysMenu> selectMenusByUserId(@Param("userId")Long userId); |
| | | |
| | | |
| | | List<String> getPathsByMenuIds(@Param("ids")List<Long> ids); |
| | | } |