package com.smartor.service; 
 | 
  
 | 
import com.smartor.domain.MinioFile; 
 | 
import com.smartor.domain.MinioResponseDTO; 
 | 
import com.smartor.domain.TreeNode; 
 | 
import org.springframework.web.multipart.MultipartFile; 
 | 
  
 | 
import javax.servlet.http.HttpServletResponse; 
 | 
import java.util.List; 
 | 
  
 | 
/** 
 | 
 * 【请填写功能名称】Service接口 
 | 
 * 
 | 
 * @author ruoyi 
 | 
 * @date 2023-06-19 
 | 
 */ 
 | 
public interface IMinioFileService { 
 | 
    /** 
 | 
     * 查询【请填写功能名称】 
 | 
     * 
 | 
     * @param id 【请填写功能名称】主键 
 | 
     * @return 【请填写功能名称】 
 | 
     */ 
 | 
    public MinioFile selectMinioFileById(Long id); 
 | 
  
 | 
    /** 
 | 
     * 查询【请填写功能名称】列表 
 | 
     * 
 | 
     * @param minioFile 【请填写功能名称】 
 | 
     * @return 【请填写功能名称】集合 
 | 
     */ 
 | 
    public List<MinioFile> selectMinioFileList(MinioFile minioFile); 
 | 
  
 | 
    /** 
 | 
     * 新增【请填写功能名称】 
 | 
     * 
 | 
     * @param minioFile 【请填写功能名称】 
 | 
     * @return 结果 
 | 
     */ 
 | 
    public int insertMinioFile(MinioFile minioFile); 
 | 
  
 | 
    /** 
 | 
     * 修改【请填写功能名称】 
 | 
     * 
 | 
     * @param minioFile 【请填写功能名称】 
 | 
     * @return 结果 
 | 
     */ 
 | 
    public int updateMinioFile(MinioFile minioFile); 
 | 
  
 | 
    /** 
 | 
     * 批量删除【请填写功能名称】 
 | 
     * 
 | 
     * @param ids 需要删除的【请填写功能名称】主键集合 
 | 
     * @return 结果 
 | 
     */ 
 | 
    public int deleteMinioFileByIds(Long[] ids); 
 | 
  
 | 
    /** 
 | 
     * 删除【请填写功能名称】信息 
 | 
     * 
 | 
     * @param id 【请填写功能名称】主键 
 | 
     * @return 结果 
 | 
     */ 
 | 
    public int deleteMinioFileById(Long id); 
 | 
  
 | 
    /** 
 | 
     * 文件批量上传 
 | 
     * 
 | 
     * @param files 
 | 
     * @return 
 | 
     */ 
 | 
    public List<MinioResponseDTO> commonUploadFile(String path, List<MultipartFile> files); 
 | 
  
 | 
    /** 
 | 
     * 获取(宣教)引用模板 
 | 
     * 
 | 
     * @param 
 | 
     * @return 
 | 
     */ 
 | 
    public TreeNode getEduTemplage(); 
 | 
  
 | 
    /** 
 | 
     * @param fileName 全路径文件名 
 | 
     * @return 
 | 
     */ 
 | 
    public void downloadFile(HttpServletResponse response, String fileName); 
 | 
  
 | 
    /** 
 | 
     * 获取图片、音频、视频 的URL, 入参的fileName为全路径文件名 
 | 
     * 
 | 
     * @param fileName 
 | 
     * @return 
 | 
     */ 
 | 
    public String getFileUrl(String fileName, Integer expires); 
 | 
} 
 |