package cn.ezhizao.project.business.IndividualIncomeTax.service.impl;

import cn.ezhizao.project.business.IndividualIncomeTax.domain.BizFinancialIndividualIncomeTaxDetail;
import cn.ezhizao.project.business.IndividualIncomeTax.mapper.BizFinancialIndividualIncomeTaxDetailMapper;
import cn.ezhizao.project.business.IndividualIncomeTax.service.IBizFinancialIndividualIncomeTaxDetailService;
import cn.ezhizao.project.system.domain.SysFileStorage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

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

/**
 * 个税详情Service业务层处理
 *
 * @author ruoyi
 * @date 2023-11-17
 */
@Service
public class BizFinancialIndividualIncomeTaxDetailServiceImpl  extends ServiceImpl<BizFinancialIndividualIncomeTaxDetailMapper, BizFinancialIndividualIncomeTaxDetail> implements IBizFinancialIndividualIncomeTaxDetailService
{
    @Resource
    private BizFinancialIndividualIncomeTaxDetailMapper bizFinancialIndividualIncomeTaxDetailMapper;

    /**
     * 查询个税详情列表
     *
     * @param bizFinancialIndividualIncomeTaxDetail 个税详情
     * @return 个税详情
     */
    @Override
    public List<BizFinancialIndividualIncomeTaxDetail> getList(BizFinancialIndividualIncomeTaxDetail bizFinancialIndividualIncomeTaxDetail)
    {
        return bizFinancialIndividualIncomeTaxDetailMapper.getList(bizFinancialIndividualIncomeTaxDetail);
    }

    /**
     * 物理删除
     * @param bizFinancialIndividualIncomeTaxDetail
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizFinancialIndividualIncomeTaxDetail bizFinancialIndividualIncomeTaxDetail){ return bizFinancialIndividualIncomeTaxDetailMapper.physicalDelete(bizFinancialIndividualIncomeTaxDetail); }

    @Override
    public List<SysFileStorage> getFiles(Long id) {
        return bizFinancialIndividualIncomeTaxDetailMapper.getFiles(id);
    }


}
