From d04c117fdebce55aaa97bc0c44181948d1e2150c Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 02 Jun 2022 10:43:47 +0800 Subject: [PATCH] 20220527 --- src/main/java/com/xcong/farmer/cms/modules/system/mapper/MenuMapper.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/farmer/cms/modules/system/mapper/MenuMapper.java b/src/main/java/com/xcong/farmer/cms/modules/system/mapper/MenuMapper.java index 5f775e6..8c4c131 100644 --- a/src/main/java/com/xcong/farmer/cms/modules/system/mapper/MenuMapper.java +++ b/src/main/java/com/xcong/farmer/cms/modules/system/mapper/MenuMapper.java @@ -5,10 +5,18 @@ 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<MenuEntity> { IPage<AdminMenuVo> selectAdminMenuVoInPage(Page<AdminMenuVo> page, @Param("record")MenuEntity menuEntity); + AdminUserMenuVo selectAdminRoleMenuVoById(@Param("id")Long parentId); + + List<AdminMenuVo> selectAdminMenuVoInListByParentId(@Param("parentId")Long parentIdDefault); + + MenuEntity selectMenuEntityByIdAndParentId(@Param("menuId")Long menuId, @Param("parentId")Long parentidDefault); } -- Gitblit v1.9.1