You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.0 KiB
29 lines
1.0 KiB
package com.aurora.service;
|
|
|
|
import com.aurora.model.dto.LabelOptionDTO;
|
|
import com.aurora.model.dto.MenuDTO;
|
|
import com.aurora.model.dto.UserMenuDTO;
|
|
import com.aurora.entity.Menu;
|
|
import com.aurora.model.vo.ConditionVO;
|
|
import com.aurora.model.vo.IsHiddenVO;
|
|
import com.aurora.model.vo.MenuVO;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
|
|
import java.util.List;
|
|
//主要用于处理菜单的增删改查、层级结构构建、权限过滤和状态管理等核心业务逻辑
|
|
public interface MenuService extends IService<Menu> {
|
|
|
|
List<MenuDTO> listMenus(ConditionVO conditionVO);//根据条件查询菜单列表(支持动态筛选,用于后台管理系统),常返回菜单的层级结构数据
|
|
|
|
void saveOrUpdateMenu(MenuVO menuVO);
|
|
|
|
void updateMenuIsHidden(IsHiddenVO isHiddenVO);//该方法通常需要权限校验,确保只有管理员可操作菜单的显示状态
|
|
|
|
void deleteMenu(Integer menuId);
|
|
|
|
List<LabelOptionDTO> listMenuOptions();
|
|
|
|
List<UserMenuDTO> listUserMenus();
|
|
|
|
}
|