package cn.ezhizao.project.business.IndividualIncomeTax.mapper;

import cn.ezhizao.project.business.IndividualIncomeTax.domain.BizFinancialIndividualIncomeTax;
import cn.ezhizao.project.business.IndividualIncomeTax.domain.BizFinancialIndividualIncomeTaxDetail;
import cn.ezhizao.project.business.salary.domain.BizFinancialSalary;
import cn.ezhizao.project.business.salary.domain.BizFinancialSalaryDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
/**
 * 个税任务Mapper接口
 *
 * @author ruoyi
 * @date 2023-11-13
 */
public interface BizFinancialIndividualIncomeTaxMapper extends BaseMapper<BizFinancialIndividualIncomeTax>
{
    /**
     * 查询个税任务列表
     *
     * @param bizFinancialIndividualIncomeTax 个税任务
     * @return 个税任务集合
     */
    public List<BizFinancialIndividualIncomeTax> getList(BizFinancialIndividualIncomeTax bizFinancialIndividualIncomeTax);


    /**
     * 物理删除
     * @param bizFinancialIndividualIncomeTax
     * @return 删除结果
    */
    public int physicalDelete(BizFinancialIndividualIncomeTax bizFinancialIndividualIncomeTax);


    /**
     * 查询工资任务
     * @return 查询结果
     */
    BizFinancialSalary getSalary(Long workOrderId);

    /**
     * 查询月工资单
     * @return 查询结果
     */
    BizFinancialSalaryDetail getSalaryDetail(String year, String month, Long id);

    /**
     * 查询月工资数据
     * @return 查询结果
     */
    List<BizFinancialSalaryDetail> getSalaryEmployee(Long id);

    BizFinancialIndividualIncomeTaxDetail getTaxDetail(String year, String month, Long id);


}
