package jnpf.authority.service;

import com.baomidou.mybatisplus.extension.service.IService;
import jnpf.base.model.module.MenuListVO;
import jnpf.base.vo.PageListVO;
import jnpf.model.authority.dto.menu.FtbPermissionFunctionMenuDTO;
import jnpf.model.authority.dto.menu.FtbPermissionMenuDirectoryDTO;
import jnpf.model.authority.po.FtbPermissionFunctionMenu;
import jnpf.model.authority.vo.menu.FtbPermissionFunctionMenuVO;
import jnpf.model.authority.vo.menu.FtbPermissionMenuConfigTreeVO;
import jnpf.model.authority.vo.menu.FtbPermissionMenuDirectoryVO;
import jnpf.model.cultivate.CultivatePage;

import java.util.List;

/**
*
*
*@Author: peng.hao
*@create: 2025/3/5
*
*/
public interface FtbPermissionFunctionMenuService extends IService<FtbPermissionFunctionMenu> {


    PageListVO<FtbPermissionFunctionMenuVO> getAListOfSubPages(String menuId, CultivatePage page);

    void addAListOfSubPages(FtbPermissionFunctionMenuDTO dto);

    void updateAListOfSubPages(FtbPermissionFunctionMenuDTO dto);

    List<MenuListVO> getAListOfMenus(String category, String keyword);

    List<FtbPermissionMenuDirectoryVO> getAListOfMenuDirectory(String roleId);

    List<FtbPermissionMenuConfigTreeVO> getAListOfFunctionMenuConfigurations(FtbPermissionMenuDirectoryDTO dto);

    List<FtbPermissionFunctionMenuVO> querySubpageButton(String subPageId);
}
