package com.hzs.system.config.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.system.config.BdSpecialCurrency;
import com.hzs.common.domain.system.config.ext.BdSpecialCurrencyDetailExt;
import com.hzs.common.domain.system.config.ext.BdSpecialCurrencyExt;
import com.hzs.system.config.param.SpecialCurrencyParam;

import java.util.List;
import java.util.Set;

/**
 * 特殊消费配置 服务类
 *
 * @author hzs
 * @since 2023-07-18
 */
public interface IBdSpecialCurrencyService extends IService<BdSpecialCurrency> {

    /*
     * @description: 保存特殊消费配置
     * @author: sui q
     * @date: 2023/7/18 20:58
     * @param: null null
     **/
    Boolean saveSpecialCurrency(SpecialCurrencyParam bdSpecialCurrency);

    /*
     * @description:删除特殊消费配置
     * @author: sui q
     * @date: 2023/7/21 13:49
     * @param: null null
     **/
    Boolean deleteSpecialCurrency(SpecialCurrencyParam bdspSpecialCurrencyParam);

    /*
     * @description: 查询特殊配置明细
     * @author: sui q
     * @date: 2023/7/19 11:27
     * @param: null null
     **/
    List<BdSpecialCurrencyExt> querySpecialCurrencyList(SpecialCurrencyParam specialCurrencyParam);

    /**
     * 批量查询重销的扣除比例
     *
     * @param pkCurrencySet
     * @param account
     * @return
     */
    List<BdSpecialCurrencyDetailExt> queryAreaCurrencyBySpecialArea(Set<Integer> pkCurrencySet, Integer account);
}
