package com.engine.salary.service;

import com.engine.salary.entity.salarysob.po.SalarySobEmpFieldPO;

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

/**
 * 薪资账套的员工信息字段
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
public interface SalarySobEmpFieldService {

    /**
     * 根据薪资账套id查询薪资账套的员工信息字段
     *
     * @param salarySobId 薪资账套id
     * @return
     */
    List<SalarySobEmpFieldPO> listBySalarySobId(Long salarySobId);

    /**
     * 批量保存
     *
     * @param salarySobEmpFieldPOS 薪资账套的员工信息字段
     */
    void batchSave(Collection<SalarySobEmpFieldPO> salarySobEmpFieldPOS);

    /**
     * 根据薪资账套的id删除薪资账套的员工信息字段
     *
     * @param salarySobIds 薪资账套id
     */
    void deleteBySalarySobIds(Collection<Long> salarySobIds);

    void deleteByIds(Collection<Long> ids);
}
