package com.crm.manager.service.risk;

import com.crm.rely.backend.core.entity.risk.leverage.group.exclude.login.RiskLeverageRuleExcludeLoginSaveEntity;
import com.crm.rely.backend.exception.ServiceException;

import java.util.List;

public interface RiskLeverageGroupExcludeLoginService {

    void save(Long leverageGroupId, List<RiskLeverageRuleExcludeLoginSaveEntity> entities) throws ServiceException;

    /**
     * 删除对应的排除交易账户
     *
     * @param leverageGroupIds
     * @throws ServiceException
     */
    void delete(List<Long> leverageGroupIds) throws ServiceException;

    /**
     * 获取对应的交易账户
     *
     * @param leverageGroupId
     * @return
     * @throws ServiceException
     */
    List<Long> getExcludeLoginDto(Long leverageGroupId) throws ServiceException;

}
