using DS.Module.Core;
using DS.Module.Core.Data;
using DS.WMS.Core.Op.Dtos;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Op.Interface
{
public interface IOpFileService
{
///
/// 添加业务附件
///
///
///
///
public Task> AddFile(IFormFile file, [FromForm] OpFileReq req);
///
/// 多附件上传
///
///
///
///
public Task> AddMultiFiles(IFormCollection formCollection, [FromForm] OpFileReq req);
///
/// 获取业务附件列表
///
///
///
public DataResult> GetOpFileList(string id);
///
/// 批量删除附件
///
///
///
public Task> BatchDelFiles(IdModel req);
///
/// 下载文件
///
///
///
public Task DownloadFile(string id);
///
/// 获取下载文件
///
///
///
public DataResult GetOpFileDownLoad(string id);
}
}