You've already forked FrameTour-BE
添加"系统菜单"的基础业务接口和实现
This commit is contained in:
@ -9,11 +9,24 @@ import java.util.List;
|
||||
|
||||
@Mapper
|
||||
public interface MenuMapper {
|
||||
int delete(@Param("id")String id);
|
||||
int addRoleMenu(@Param("id")String id,@Param("list") List<Integer> list);
|
||||
/**
|
||||
* 根据角色id删除角色菜单
|
||||
* @param roleId 角色id
|
||||
* @return
|
||||
*/
|
||||
int deleteRoleMenuByRoleId(@Param("id")String roleId);
|
||||
int addRoleMenu(@Param("id")String roleId,@Param("list") List<Integer> list);
|
||||
int add(MenuEntity menuEntity);
|
||||
|
||||
List<MenuNode>getListByType(@Param("type")Integer type);
|
||||
|
||||
int update(MenuEntity menuEntity);
|
||||
int deleteById(@Param("id")Long id);
|
||||
|
||||
/**
|
||||
* 根据菜单id删除角色菜单
|
||||
* @param menuId
|
||||
* @return
|
||||
*/
|
||||
int deleteRoleMenuByMenuId(@Param("id")String menuId);
|
||||
}
|
||||
|
Reference in New Issue
Block a user