package com.crm.manager.service;

import com.crm.rely.backend.core.dto.risk.revoke.credit.rule.exclude.login.RiskRevokeCreditRuleExcludeLoginDto;
import com.crm.rely.backend.core.entity.risk.revoke.credit.rule.exclude.login.RiskRevokeCreditRuleExcludeLoginSaveEntity;
import com.crm.rely.backend.exception.ServiceException;

import java.util.List;

public interface RiskRevokeCreditRuleExcludeLoginService {

    void save(Long revokeCreditRuleId ,List<RiskRevokeCreditRuleExcludeLoginSaveEntity> entities) throws ServiceException;

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

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

}
