package com.xcong.farmer.cms.modules.system.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.xcong.farmer.cms.modules.system.entity.MenuEntity; import com.xcong.farmer.cms.modules.system.vo.AdminMenuVo; import com.xcong.farmer.cms.modules.system.vo.AdminUserMenuVo; import org.apache.ibatis.annotations.Param; import java.util.List; public interface MenuMapper extends BaseMapper { IPage selectAdminMenuVoInPage(Page page, @Param("record")MenuEntity menuEntity); AdminUserMenuVo selectAdminRoleMenuVoById(@Param("id")Long parentId); List selectAdminMenuVoInListByParentId(@Param("parentId")Long parentIdDefault); MenuEntity selectMenuEntityByIdAndParentId(@Param("menuId")Long menuId, @Param("parentId")Long parentidDefault); List selectAdminUserMenuVoOrderByOrderNum(@Param("list") List menuIds); List selectAdminMenuVoOrderByOrderNum(@Param("list") List menuIds); }