lyh
11 小时以前 78aeb8a8c97a884a640d46755e4be706bde48b7d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.lxzn.ucenter.dao;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lxzn.framework.domain.ucenter.Role;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface RoleMapper extends BaseMapper<Role> {
    /**
     * 获取用户未选择的角色列表
     * @param userId
     * @return
     */
    List<Role> getUserNonPermRole(@Param("userId") String userId);
    /**
     * 获取用户已选择的角色列表
     * @param userId
     * @return
     */
    List<Role> getUserPermRole(@Param("userId") String userId);
}