package com.engine.salary.service;

import com.engine.salary.entity.taxagent.po.TaxAgentAdminPO;

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

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

    /**
     * 根据个税扣缴义务人id删除管理员
     *
     * @param taxAgentIds
     */
    void deleteByTaxAgentIds(Collection<Long> taxAgentIds);

    /**
     * 批量新增管理员
     *
     * @param taxAgentId
     * @param admins
     */
    void batchInsert(Long taxAgentId, Collection<Long> admins);

    /**
     * 根据个税扣缴义务人id查询管理员
     *
     * @param taxAgentIds
     * @return
     */
    List<TaxAgentAdminPO> listByTaxAgentIds(Collection<Long> taxAgentIds);

    /**
     * 根据个税扣缴义务人id查询管理员
     *
     * @param taxAgentIds
     * @return
     */
    List<TaxAgentAdminPO> listByTaxAgentIdsAndEmployeeId(Collection<Long> taxAgentIds, Long currentEmployeeId);

    /**
     * 根据当前登录人查询管理员
     *
     * @param currentEmployeeId
     * @return
     */
    List<TaxAgentAdminPO> listByEmployeeId(Long currentEmployeeId);
}
