123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- package com.xzl.web.service;
- import com.xzl.common.core.domain.entity.KnowledgeFile;
- import java.util.List;
- /**
- * 文件Service接口
- *
- * @author xzl
- * @date 2025-06-17
- */
- public interface KnowledgeFileService
- {
- /**
- * 查询文件
- *
- * @param fileId 文件主键
- * @return 文件
- */
- public KnowledgeFile selectSysFileByFileId(Long fileId);
- /**
- * 查询文件列表
- *
- * @param Knowledge 文件
- * @return 文件集合
- */
- public List<KnowledgeFile> selectSysFileList(KnowledgeFile Knowledge);
- /**
- * 新增文件
- *
- * @param Knowledge 文件
- * @return 结果
- */
- public int insertSysFile(KnowledgeFile Knowledge);
- /**
- * 修改文件
- *
- * @param Knowledge 文件
- * @return 结果
- */
- public int updateSysFile(KnowledgeFile Knowledge);
- /**
- * 批量删除文件
- *
- * @param fileIds 需要删除的文件主键集合
- * @return 结果
- */
- public int deleteSysFileByFileIds(Long[] fileIds);
- /**
- * 删除文件信息
- *
- * @param fileId 文件主键
- * @return 结果
- */
- public int deleteSysFileByFileId(Long fileId);
- }
|