package tech.easyflow.system.service;

import com.mybatisflex.core.service.IService;
import tech.easyflow.system.entity.SysRoleCategoryScope;
import tech.easyflow.system.entity.vo.SysRoleCategoryScopeDetailVo;
import tech.easyflow.system.entity.vo.SysRoleCategoryScopeItemVo;

import java.math.BigInteger;
import java.util.List;

public interface SysRoleCategoryScopeService extends IService<SysRoleCategoryScope> {

    SysRoleCategoryScopeDetailVo getRoleScopeDetail(BigInteger roleId);

    void saveRoleScopes(BigInteger roleId, List<SysRoleCategoryScopeItemVo> scopes, BigInteger operatorId);
}
