package com.jkcredit.invoice.hub.service.rolePermission;

import com.jkcredit.invoice.hub.model.dto.rolePermission.RolePermissionDto;
import com.jkcredit.invoice.hub.model.po.rolePermission.RolePermissionPo;
import com.jkcredit.invoice.hub.model.vo.rolePermission.RolePermissionVo;

import java.util.List;

/**
 * @description:
 * @author: xusonglin
 * @create: 2020/1/14 22:37
 * @version: V1.0
 **/
public interface RolePermissionService {
//    void saveRolePermission(RolePermissionDto rolePermissionDto);

    List<Long> getPermissionsByRoleId(Long roleId);

    void updateRolePermission(RolePermissionDto rolePermissionDto);

    void deleteRolePermissionByRoleId(Long roleId, List<Long> permissionList);
}
