RolePermissionMappingMapper.java 569 Bytes
package com.meishu.mapper;

import com.meishu.model.PermissionsDictDO;
import com.meishu.model.RolePermissionMappingDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 系统用户角色表 Mapper 接口
 * </p>
 *
 * @author Tuyp
 * @since 2021-04-26
 */
 @Repository
public interface RolePermissionMappingMapper extends BaseMapper<RolePermissionMappingDO> {

 /**
  * 获取某个角色下的全部权限
  */
 List<PermissionsDictDO> getRolePermission(Long roleId);

}