package com.engine.salary.service;

import com.engine.salary.entity.salarysob.param.SalarySobAdjustRuleSaveParam;
import com.engine.salary.entity.salarysob.po.SalarySobAdjustRulePO;

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

/**
 * 调薪计薪规则
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
public interface SalarySobAdjustRuleService {

    /**
     * 根据薪资账套id查询薪资账套的调薪计薪规则
     *
     * @param salarySobId 薪资账套id
     * @return
     */
    List<SalarySobAdjustRulePO> listBySalarySobId(Long salarySobId);

    /**
     * 保存调薪计薪酬规则
     *
     * @param saveParam
     */
    void save(SalarySobAdjustRuleSaveParam saveParam);

    /**
     * 批量保存
     *
     * @param salarySobAdjustRulePOS 薪资账套的调薪计薪规则
     */
    void batchSave(Collection<SalarySobAdjustRulePO> salarySobAdjustRulePOS);

    /**
     * 根据薪资账套id删除调薪计薪酬规则
     *
     * @param salarySobIds 薪资账套id
     */
    void deleteBySalarySobIds(Collection<Long> salarySobIds);
}
