package com.ots.project.system.menu.mapper; import com.ots.project.system.menu.domain.Menu; import org.apache.ibatis.annotations.Param; import java.util.List; public interface MenuMapper { List selectMenuAll(); List selectMenuAllByUserId(Long userId); List selectMenuNormalAll(); List selectMenusByUserId(Long userId); List selectPermsByUserId(Long userId); List selectMenuTree(Long roleId); List selectMenuList(Menu menu); List selectMenuListByUserId(Menu menu); int deleteMenuById(Long menuId); Menu selectMenuById(Long menuId); int selectCountMenuByParentId(Long parentId); int insertMenu(Menu menu); int updateMenu(Menu menu); Menu checkMenuNameUnique(@Param("menuName") String menuName, @Param("parentId") Long parentId); }