package com.jkcredit.invoice.hub.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jkcredit.invoice.hub.model.po.userRolePermission.UserRolePermissionPo;

import java.util.List;

/**
 * @description:
 * @author: xusonglin
 * @create: 2020/1/13 17:49
 * @version: V1.0
 **/
public interface UserRolePermissionMapper extends BaseMapper<UserRolePermissionPo> {
    List<UserRolePermissionPo> getUserRolePermissionByRoleId(Long roleId);

    List<Long> getUserIdByRoleId(Long roleId);
}
