package com.engine.salary.service;

import com.engine.salary.entity.taxrate.TaxRateDetail;

import java.util.Collection;
import java.util.List;

/**
 * 个税税率表明细表
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
public interface TaxRateDetailService {

    /**
     * 根据公式条件获取对应的税率
     *
     * @param taxRateBaseId
     * @param isOr
     * @param formulaFilterDataList
     * @param tenantKey
     * @return
     */
//    TaxRateDetail getByFormulaFilterData(Long taxRateBaseId, boolean isOr, Collection<FormulaFilterData> formulaFilterDataList);

    /**
     * 根据主表id获取明细表
     *
     * @param taxRateBaseId
     * @return
     */
    List<TaxRateDetail> listByBaseId(Long taxRateBaseId);

    /**
     * 根据主表id批量删除明细表
     *
     * @param taxRateBaseIds
     */
    void deleteByBaseIds(Collection<Long> taxRateBaseIds);
}
