package jnpf.authority.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import jnpf.model.authority.po.FtbPermissionFunctionMenu;
import jnpf.model.authority.vo.menu.FtbPermissionFunctionMenuVO;
import jnpf.model.authority.vo.role.FtbPermissionRoleInfoVO;
import org.apache.ibatis.annotations.Param;

/**
*
*
*@Author: peng.hao
*@create: 2025/3/5
*
*/
public interface FtbPermissionFunctionMenuMapper  extends BaseMapper<FtbPermissionFunctionMenu> {
    Page<FtbPermissionFunctionMenuVO> getAListOfSubPages(@Param("page") Page<FtbPermissionFunctionMenuVO> objectPage,
                                                         @Param("menuId") String menuId);

    FtbPermissionRoleInfoVO getRoleWithMenu(@Param("roleId") String roleId);
}