package org.jeecg.modules.doc.service;
|
|
import org.jeecg.modules.doc.entity.DocFile;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import org.springframework.web.multipart.MultipartFile;
|
|
import java.io.File;
|
import java.io.IOException;
|
|
/**
|
* @Description: doc_file
|
* @Author: jeecg-boot
|
* @Date: 2022-07-04
|
* @Version: V1.0
|
*/
|
public interface IDocFileService extends IService<DocFile> {
|
|
DocFile saveFile(MultipartFile f, String identifier) throws IOException;
|
DocFile saveFile(File f, String identifier) throws IOException;
|
|
Long getFilePointCount(String fileId);
|
|
void updateFileDetail(String userFileId, String identifier, long fileSize, String modifyUserId);
|
|
void unzipFile(String userFileId, int unzipMode, String filePath);
|
}
|