You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.4 KiB
C#

using DS.Module.Core;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Code.Interface
{
public interface ICodeInfoImportService
{
/// <summary>
/// 按Excel导入包装
/// </summary>
/// <param name="file"></param>
/// <returns></returns>
public Task<DataResult<string>> ImportPackageByExcel(IFormFile file);
/// <summary>
/// 按Excel导入集装箱
/// </summary>
/// <param name="file"></param>
/// <returns></returns>
public Task<DataResult<string>> ImportCtnByExcel(IFormFile file);
/// <summary>
/// 按Excel导入国家信息
/// </summary>
/// <param name="file"></param>
/// <returns></returns>
public Task<DataResult<string>> ImportCountryByExcel(IFormFile file);
/// <summary>
/// 按Excel导入商品信息
/// </summary>
/// <param name="file"></param>
/// <returns></returns>
public Task<DataResult<string>> ImportGoodsByExcel(IFormFile file);
/// <summary>
/// 按Excel导入港口信息
/// </summary>
/// <param name="file"></param>
/// <returns></returns>
public Task<DataResult<string>> ImportPortByExcel(IFormFile file);
}
}