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

import java.util.List;
import javax.annotation.Resource;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import cn.ezhizao.project.business.invoice.mapper.BizInvoiceRecordMapper;
import cn.ezhizao.project.business.invoice.domain.BizInvoiceRecord;
import cn.ezhizao.project.business.invoice.service.IBizInvoiceRecordService;

/**
 * 发票操作记录Service业务层处理
 *
 * @author ruoyi
 * @date 2024-11-12
 */
@Service
public class BizInvoiceRecordServiceImpl  extends ServiceImpl<BizInvoiceRecordMapper, BizInvoiceRecord> implements IBizInvoiceRecordService
{
    @Resource
    private BizInvoiceRecordMapper bizInvoiceRecordMapper;

    /**
     * 查询发票操作记录列表
     *
     * @param bizInvoiceRecord 发票操作记录
     * @return 发票操作记录
     */
    @Override
    public List<BizInvoiceRecord> getList(BizInvoiceRecord bizInvoiceRecord)
    {
        return bizInvoiceRecordMapper.getList(bizInvoiceRecord);
    }

    /**
     * 物理删除
     * @param bizInvoiceRecord
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizInvoiceRecord bizInvoiceRecord){ return bizInvoiceRecordMapper.physicalDelete(bizInvoiceRecord); };

}
