package com.zg.project.Inventory.AutoInventory.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zg.project.Inventory.AutoInventory.mapper.PrintRfidMapper;
import com.zg.project.Inventory.AutoInventory.domain.entity.PrintRfid;
import com.zg.project.Inventory.AutoInventory.service.IPrintRfidService;

/**
 * 打印rfidService业务层处理
 * 
 * @author zg
 * @date 2025-04-17
 */
@Service
public class PrintRfidServiceImpl implements IPrintRfidService 
{
    @Autowired
    private PrintRfidMapper printRfidMapper;

    /**
     * 查询打印rfid
     * 
     * @param id 打印rfid主键
     * @return 打印rfid
     */
    @Override
    public PrintRfid selectPrintRfidById(Long id)
    {
        return printRfidMapper.selectPrintRfidById(id);
    }

    /**
     * 查询打印rfid列表
     * 
     * @param printRfid 打印rfid
     * @return 打印rfid
     */
    @Override
    public List<PrintRfid> selectPrintRfidList(PrintRfid printRfid)
    {
        return printRfidMapper.selectPrintRfidList(printRfid);
    }

    /**
     * 新增打印rfid
     * 
     * @param printRfid 打印rfid
     * @return 结果
     */
    @Override
    public int insertPrintRfid(PrintRfid printRfid)
    {
        return printRfidMapper.insertPrintRfid(printRfid);
    }

    /**
     * 修改打印rfid
     * 
     * @param printRfid 打印rfid
     * @return 结果
     */
    @Override
    public int updatePrintRfid(Long id)
    {
        return printRfidMapper.updatePrintRfid(id);
    }

    /**
     * 批量删除打印rfid
     * 
     * @param ids 需要删除的打印rfid主键
     * @return 结果
     */
    @Override
    public int deletePrintRfidByIds(Long[] ids)
    {
        return printRfidMapper.deletePrintRfidByIds(ids);
    }

    /**
     * 删除打印rfid信息
     * 
     * @param id 打印rfid主键
     * @return 结果
     */
    @Override
    public int deletePrintRfidById(Long id)
    {
        return printRfidMapper.deletePrintRfidById(id);
    }
}
