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 { /** * 获取用户未选择的角色列表 * @param userId * @return */ List getUserNonPermRole(@Param("userId") String userId); /** * 获取用户已选择的角色列表 * @param userId * @return */ List getUserPermRole(@Param("userId") String userId); }