package cn.ezhizao.project.business.finance.IndividualIncomeTaxIsZero.service.impl;

import java.util.List;
import javax.annotation.Resource;

import cn.ezhizao.project.business.finance.IndividualIncomeTaxIsZero.domain.BizFinancialIndividualIncomeTaxIsZero;
import cn.ezhizao.project.business.finance.IndividualIncomeTaxIsZero.domain.BizFinancialIndividualIncomeTaxDetailIsZero;
import cn.ezhizao.project.business.salary.domain.BizFinancialSalary;
import cn.ezhizao.project.business.salary.domain.BizFinancialSalaryDetail;
import cn.ezhizao.project.business.salary.domain.BizFinancialSalaryDetailEmployee;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import cn.ezhizao.project.business.finance.IndividualIncomeTaxIsZero.mapper.BizFinancialIndividualIncomeTaxIsZeroMapper;
import cn.ezhizao.project.business.finance.IndividualIncomeTaxIsZero.service.IBizFinancialIndividualIncomeTaxIsZeroService;

/**
 * 个税任务Service业务层处理
 *
 * @author ruoyi
 * @date 2023-11-13
 */
@Service
public class BizFinancialIndividualIncomeTaxIsZeroServiceImpl extends ServiceImpl<BizFinancialIndividualIncomeTaxIsZeroMapper, BizFinancialIndividualIncomeTaxIsZero> implements IBizFinancialIndividualIncomeTaxIsZeroService
{
    @Resource
    private BizFinancialIndividualIncomeTaxIsZeroMapper bizFinancialIndividualIncomeTaxIsZeroMapper;

    /**
     * 查询个税任务列表
     *
     * @param bizFinancialIndividualIncomeTax 个税任务
     * @return 个税任务
     */
    @Override
    public List<BizFinancialIndividualIncomeTaxIsZero> getList(BizFinancialIndividualIncomeTaxIsZero bizFinancialIndividualIncomeTax)
    {
        return bizFinancialIndividualIncomeTaxIsZeroMapper.getList(bizFinancialIndividualIncomeTax);
    }

    /**
     * 物理删除
     * @param bizFinancialIndividualIncomeTax
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizFinancialIndividualIncomeTaxIsZero bizFinancialIndividualIncomeTax){ return bizFinancialIndividualIncomeTaxIsZeroMapper.physicalDelete(bizFinancialIndividualIncomeTax); };


    /**
     * 查询工资任务
     * @return 查询结果
     */
    @Override
    public BizFinancialSalary getSalary(Long workOrderId){
        return bizFinancialIndividualIncomeTaxIsZeroMapper.getSalary(workOrderId);
    }

    /**
     * 查询月工资单
     * @return 查询结果
     */
    @Override
    public  BizFinancialSalaryDetail getSalaryDetail(String year, String month, Long id){
        return bizFinancialIndividualIncomeTaxIsZeroMapper.getSalaryDetail(year,month,id);
    }

    /**
     * 查询月工资数据
     * @return 查询结果
     */
    @Override
    public  List<BizFinancialSalaryDetailEmployee> getSalaryEmployee(Long id){
        return bizFinancialIndividualIncomeTaxIsZeroMapper.getSalaryEmployee(id);
    }

    @Override
    public BizFinancialIndividualIncomeTaxDetailIsZero getTaxDetail(String year, String month, Long id) {
        return bizFinancialIndividualIncomeTaxIsZeroMapper.getTaxDetail(year,month,id);
    }


}
