package com.muchinfo.mtp3century.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.muchinfo.mtp3century.vo.TreeNode;
import com.muchinfo.mtp3century.utils.AjaxResult;
import com.muchinfo.mtp3pojos.entity.Funcmenulist;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 * 功能菜单表 服务类
 * </p>
 *
 * @author XKF
 * @since 2024-04-10
 */
public interface IFuncmenulistService extends IService<Funcmenulist> {
    /**
     * @param stringList
     * @param sysType
     * @return
     */
    List<TreeNode> fingByAuthorities(List<String> stringList, Integer sysType);


    /**
     * @param treeNode
     * @return
     */
    AjaxResult dealMenus(TreeNode treeNode, HttpServletRequest request);

    /**
     * @param resourceCode
     * @return
     */
    AjaxResult deleteMenus(TreeNode resourceCode, HttpServletRequest request);

    List<TreeNode> menuAllList(Integer menuType);
}
