package com.landtool.lanbase.modules.res.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.landtool.lanbase.modules.res.dao.Res_FilesMapper; import com.landtool.lanbase.modules.res.entity.Res_Files; import com.landtool.lanbase.modules.res.service.ResFilesService; @Service("ResFilesService") public class ResFilesServiceImpl implements ResFilesService { @Autowired private Res_FilesMapper resFilesMapper ; @Override public int deleteByPrimaryKey(int fileid) { return resFilesMapper.deleteByPrimaryKey(fileid); } @Override public int insert(Res_Files record) { return resFilesMapper.insert(record); } @Override public int insertSelective(Res_Files record) { return resFilesMapper.insertSelective(record); } @Override public Res_Files selectByPrimaryKey(Integer fileid) { return resFilesMapper.selectByPrimaryKey(fileid); } @Override public int updateByPrimaryKeySelective(Res_Files record) { return resFilesMapper.updateByPrimaryKeySelective(record); } @Override public int updateByPrimaryKey(Res_Files record) { return resFilesMapper.updateByPrimaryKey(record); } @Override public List selectDataListForResourceid(int resourceid){ return resFilesMapper.selectDataListForResourceid(resourceid); } @Override public int deleteByResourceid(Integer resourceid){ return resFilesMapper.deleteByResourceid(resourceid); } }