package com.jkcredit.invoice.hub.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jkcredit.invoice.hub.model.po.rolePermission.RolePermissionPo;

import java.util.List;

/**
 * @description:
 * @author: xusonglin
 * @create: 2020/1/14 22:33
 * @version: V1.0
 **/
public interface RolePermissionMapper extends BaseMapper<RolePermissionPo> {
    List<Long> getPermissionIdByRoleId(Long roleId);

    List<RolePermissionPo> getPermissionByRoleId(Long roleId);
}
