xiaoyong931011
2020-07-16 a3d192d43e4090011d941e412a5bb44d59a6a049
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
27
package com.xcong.excoin.system.mapper;
 
import com.xcong.excoin.system.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 
import java.util.List;
 
/**
 * @author MrBird
 */
public interface MenuMapper extends BaseMapper<Menu> {
    /**
     * 查找用户权限集
     *
     * @param username 用户名
     * @return 用户权限集合
     */
    List<Menu> findUserPermissions(String username);
 
    /**
     * 查找用户菜单集合
     *
     * @param username 用户名
     * @return 用户菜单集合
     */
    List<Menu> findUserMenus(String username);
}