package com.yeejoin.equipmanage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yeejoin.equipmanage.common.entity.UploadFile;
import com.yeejoin.equipmanage.common.utils.UploadException;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 *  服务类
 *
 * @author wujiang
 * @date 2020-07-07
 */
public interface IUploadFileService extends IService<UploadFile> {
	long uploadFile(MultipartFile file, String type)throws UploadException, IOException;

}
