xiaoyong931011
2022-07-07 1facfdc9361d888d72c959bac4d8fb05dcad02d7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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<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);
}