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

import cn.ezhizao.project.business.archiveTicket.domain.BizArchiveReceiveTicket;
import cn.ezhizao.project.business.archiveTicket.mapper.BizArchiveReceiveTicketMapper;
import cn.ezhizao.project.business.archiveTicket.service.IBizArchiveReceiveTicketService;
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-26
 */
@Service
public class BizArchiveReceiveTicketServiceImpl  extends ServiceImpl<BizArchiveReceiveTicketMapper, BizArchiveReceiveTicket> implements IBizArchiveReceiveTicketService
{
    @Resource
    private BizArchiveReceiveTicketMapper bizArchiveReceiveTicketMapper;

    /**
     * 查询票据上传列表
     *
     * @param bizArchiveReceiveTicket 票据上传
     * @return 票据上传
     */
    @Override
    public List<BizArchiveReceiveTicket> getList(BizArchiveReceiveTicket bizArchiveReceiveTicket)
    {
        return bizArchiveReceiveTicketMapper.getList(bizArchiveReceiveTicket);
    }

    /**
     * 物理删除
     * @param bizArchiveReceiveTicket
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizArchiveReceiveTicket bizArchiveReceiveTicket){ return bizArchiveReceiveTicketMapper.physicalDelete(bizArchiveReceiveTicket); };

}
