package cn.iocoder.yudao.module.hrm.service.salary; import cn.iocoder.yudao.module.hrm.controller.admin.salary.vo.HrmTaxRateConfigImportExcelVO; import cn.iocoder.yudao.module.hrm.controller.admin.salary.vo.HrmTaxRateConfigImportRespVO; import cn.iocoder.yudao.module.hrm.dal.dataobject.salary.HrmTaxRateConfigDO; import java.time.LocalDate; import java.util.List; /** * 个税税率配置 Service 接口 * * @author 超级管理员 */ public interface HrmTaxRateConfigService { /** * 批量创建个税税率配置(一个税率表包含7个档位) */ void createTaxRateConfigList(List configList); /** * 更新个税税率配置 */ void updateTaxRateConfig(HrmTaxRateConfigDO config); /** * 删除个税税率配置 */ void deleteTaxRateConfig(Long id); /** * 获取个税税率配置 */ HrmTaxRateConfigDO getTaxRateConfig(Long id); /** * 获取个税税率配置列表 */ List getTaxRateConfigList(); /** * 获取生效的个税税率配置列表(按级数排序) */ List getEffectiveTaxRateConfigList(LocalDate effectiveDate); /** * 批量导入个税税率配置 * * @param importList 导入数据 * @param updateSupport 同一配置名称、生效日期、级数已存在时是否覆盖 * @return 导入结果 */ HrmTaxRateConfigImportRespVO importTaxRateConfigList( List importList, Boolean updateSupport); }