package com.njcn.process.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.njcn.process.pojo.param.SupvFileParam;
import com.njcn.process.pojo.po.SupvFile;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hongawen
 * @since 2023-06-21
 */
public interface ISupvFileService extends IService<SupvFile> {

    /**
     *
     * @author cdf
     * @date 2023/6/25
     */
    boolean planUpload(MultipartFile file,
                       String planId,
                       Integer type,
                       String uploaderId,
                       String uploaderName,
                       String attachmentType,
                       String uploadTime);

    List<SupvFile> listFile(SupvFileParam param);

    String detail(HttpServletResponse response,String busId,Integer type,String attachmentType);


    Boolean delFile(List<String> ids);

}
