ArchivesCollectVolumeServiceImpl.java 2.66 KB
package com.ruoyi.service.impl;

import com.ruoyi.domain.ArchivesCollectVolume;
import com.ruoyi.mapper.ArchivesCollectVolumeMapper;
import com.ruoyi.service.IArchivesCollectVolumeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author li
 * @date 2022-08-03
 */
@Service
public class ArchivesCollectVolumeServiceImpl implements IArchivesCollectVolumeService 
{
    @Autowired
    private ArchivesCollectVolumeMapper archivesCollectVolumeMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param id 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public ArchivesCollectVolume selectArchivesCollectVolumeById(Long id)
    {
        return archivesCollectVolumeMapper.selectArchivesCollectVolumeById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param archivesCollectVolume 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<ArchivesCollectVolume> selectArchivesCollectVolumeList(ArchivesCollectVolume archivesCollectVolume)
    {
        return archivesCollectVolumeMapper.selectArchivesCollectVolumeList(archivesCollectVolume);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param archivesCollectVolume 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertArchivesCollectVolume(ArchivesCollectVolume archivesCollectVolume)
    {
        return archivesCollectVolumeMapper.insertArchivesCollectVolume(archivesCollectVolume);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param archivesCollectVolume 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateArchivesCollectVolume(ArchivesCollectVolume archivesCollectVolume)
    {
        return archivesCollectVolumeMapper.updateArchivesCollectVolume(archivesCollectVolume);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param ids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteArchivesCollectVolumeByIds(Long[] ids)
    {
        return archivesCollectVolumeMapper.deleteArchivesCollectVolumeByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param id 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteArchivesCollectVolumeById(Long id)
    {
        return archivesCollectVolumeMapper.deleteArchivesCollectVolumeById(id);
    }
}