package com.fkzy.warn.service;


import com.baomidou.mybatisplus.extension.service.IService;

import com.fkzy.warn.common.response.ApiResponse;
import com.fkzy.warn.model.File;
import com.fkzy.warn.model.vo.FileVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;


/**
 * @author yuyantian
 * @Date 2021/09/09 14:00
 */
public interface FileService extends IService<File> {


    /**
     * 附件上传
     */
    ApiResponse uploadFile(MultipartFile file);



    /**
     * 附件上传
     */
    File uploadFile2File(MultipartFile file);
    /**
     * 通过附件id查询附件信息
     *
     * @param fileIds
     * @return
     */
    List<FileVO> selectByFileIds(List<Object> fileIds);
}
