Blame view

RolePermissionMappingMapper.java 569 Bytes
涂亚平 committed
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.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);

}