package yangtz.cs.liu.campus.service.impl.pubFile;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import yangtz.cs.liu.campus.domain.file.PubFile;
import yangtz.cs.liu.campus.mapper.pubFile.PubFileMapper;
import yangtz.cs.liu.campus.service.pubFile.IPubFileService;

import java.util.List;

/**
 * @Date: 2023/1/15 21:22
 * @Description: PubFile文件操作类
 */
@Service
public class PubFileServiceImpl implements IPubFileService {
    @Autowired
    private PubFileMapper pubFileMapper;

    @Override
    public PubFile getById(Long id) {
        return pubFileMapper.selectById(id);
    }
}
