From ef5505e22c84a63d966f35cee78afa544ece57df Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Sun, 07 Aug 2022 14:33:32 +0800 Subject: [PATCH] fix --- src/main/java/com/xcong/farmer/cms/modules/system/mapper/MenuMapper.java | 10 ++++++++++ 1 files changed, 10 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 b73e7ba..8065d8b 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 @@ -8,9 +8,19 @@ 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); + + List<AdminUserMenuVo> selectAdminUserMenuVoOrderByOrderNum(@Param("list") List<Long> menuIds); + + List<AdminMenuVo> selectAdminMenuVoOrderByOrderNum(@Param("list") List<Long> menuIds); } -- Gitblit v1.9.1