All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.base4j.mvc.sys.service.SysAttachmentService Maven / Gradle / Ivy

The newest version!
package com.base4j.mvc.sys.service;

import com.base4j.mvc.base.service.BaseService;
import com.base4j.mvc.sys.entity.SysAttachment;
import com.base4j.mvc.util.Res;
import com.base4j.mybatis.base.QueryParams;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.List;

public interface SysAttachmentService extends BaseService {
    Res upLoadFile(MultipartFile file, HttpServletRequest request) throws IOException;

    Res downLoadFile(HttpServletResponse response,Long id) throws IOException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy