package com.zehong.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zehong.system.mapper.TLpgGasBottleFilesMapper;
import com.zehong.system.domain.TLpgGasBottleFiles;
import com.zehong.system.service.ITLpgGasBottleFilesService;

/**
 * 液化石油气-气瓶档案Service业务层处理
 * 
 * @author zehong
 * @date 2024-07-09
 */
@Service
public class TLpgGasBottleFilesServiceImpl implements ITLpgGasBottleFilesService 
{
    @Autowired
    private TLpgGasBottleFilesMapper tLpgGasBottleFilesMapper;

    /**
     * 查询液化石油气-气瓶档案
     * 
     * @param fGasBottleFilesId 液化石油气-气瓶档案ID
     * @return 液化石油气-气瓶档案
     */
    @Override
    public TLpgGasBottleFiles selectTLpgGasBottleFilesById(Long fGasBottleFilesId)
    {
        return tLpgGasBottleFilesMapper.selectTLpgGasBottleFilesById(fGasBottleFilesId);
    }

    /**
     * 查询液化石油气-气瓶档案列表
     * 
     * @param tLpgGasBottleFiles 液化石油气-气瓶档案
     * @return 液化石油气-气瓶档案
     */
    @Override
    public List<TLpgGasBottleFiles> selectTLpgGasBottleFilesList(TLpgGasBottleFiles tLpgGasBottleFiles)
    {
        return tLpgGasBottleFilesMapper.selectTLpgGasBottleFilesList(tLpgGasBottleFiles);
    }

    /**
     * 新增液化石油气-气瓶档案
     * 
     * @param tLpgGasBottleFiles 液化石油气-气瓶档案
     * @return 结果
     */
    @Override
    public int insertTLpgGasBottleFiles(TLpgGasBottleFiles tLpgGasBottleFiles)
    {
        return tLpgGasBottleFilesMapper.insertTLpgGasBottleFiles(tLpgGasBottleFiles);
    }

    /**
     * 修改液化石油气-气瓶档案
     * 
     * @param tLpgGasBottleFiles 液化石油气-气瓶档案
     * @return 结果
     */
    @Override
    public int updateTLpgGasBottleFiles(TLpgGasBottleFiles tLpgGasBottleFiles)
    {
        return tLpgGasBottleFilesMapper.updateTLpgGasBottleFiles(tLpgGasBottleFiles);
    }

    /**
     * 批量删除液化石油气-气瓶档案
     * 
     * @param fGasBottleFilesIds 需要删除的液化石油气-气瓶档案ID
     * @return 结果
     */
    @Override
    public int deleteTLpgGasBottleFilesByIds(Long[] fGasBottleFilesIds)
    {
        return tLpgGasBottleFilesMapper.deleteTLpgGasBottleFilesByIds(fGasBottleFilesIds);
    }

    /**
     * 删除液化石油气-气瓶档案信息
     * 
     * @param fGasBottleFilesId 液化石油气-气瓶档案ID
     * @return 结果
     */
    @Override
    public int deleteTLpgGasBottleFilesById(Long fGasBottleFilesId)
    {
        return tLpgGasBottleFilesMapper.deleteTLpgGasBottleFilesById(fGasBottleFilesId);
    }
}
