package com.engine.salary.service;

import com.engine.salary.entity.taxagent.param.TaxAgentSubAdminEmpSaveParam;
import com.engine.salary.entity.taxagent.po.TaxAgentSubAdminEmpPO;

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

/**
 * 个税扣缴义务人的分管理员的管理范围人员
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
public interface TaxAgentSubAdminEmpService{

    /**
     * 同步分管理员的人员
     *
     * @param subAdminEmpSaveParamList
     * @param employeeId
     */
    void syncTaxAgentSubAdminEmployee(List<TaxAgentSubAdminEmpSaveParam> subAdminEmpSaveParamList, Long employeeId);

    /**
     * 根据分管理员id获取人员
     *
     * @param subAdminIds
     * @return
     */
    List<TaxAgentSubAdminEmpPO> listBySubAdminIds(List<Long> subAdminIds);

    /**
     * 根据分管理员id删除人员
     *
     * @param subAdminIds
     */
    void deleteBySubAdminIds(Collection<Long> subAdminIds);

    /**
     * 根据个税扣缴义务人id获取关联人员
     *
     * @param noAdminTaxAgentIds
     * @return
     */
    List<TaxAgentSubAdminEmpPO> listByTaxAgentIds(List<Long> noAdminTaxAgentIds);
}
