package com.foreverwin.mesnac.anomaly.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Description TODO
 * @Author zhaojiawei
 * @Since 2021-07-11
 */
public interface FileUploadedService {

    public void uploadAttachment(MultipartFile fileItem, String site, String taskNo, String fileType,String status);

    public String  showFile(HttpServletRequest request, HttpServletResponse response) throws Exception ;

    public boolean deleteFile(String pathname, String filename);


}
