package com.njcn.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.njcn.user.pojo.param.RoleParam;
import com.njcn.user.pojo.po.RoleComponent;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hongawen
 * @since 2021-12-13
 */
public interface IRoleComponentService extends IService<RoleComponent> {

    /**
     * 功能描述: 根据角色id获取组件
     *
     * @return java.util.List<java.lang.String>
     * @author xy
     * @date 2022/1/24 12:41
     */
    List<String> selectRoleComponent(List<String> idList);

    boolean updateRoleComponent(RoleParam.RoleFunctionComponent roleFunctionComponent);


}
