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.

37 lines
1011 B
C#

using DS.Module.Core;
using DS.Module.ExcelModule.Model;
using Microsoft.AspNetCore.Mvc;
2 months ago
using Org.BouncyCastle.Crypto.Paddings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.Module.ExcelModule
{
public interface IExcelService
{
/// <summary>
/// 根据用户列导出Excel数据
/// </summary>
/// <param name="req">请求数据</param>
/// <returns></returns>
public DataResult<string> ExportExcelByColumn(ExportByColumnReq req);
8 months ago
/// <summary>
///
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public MemoryStream ExportExcelStreamByColumn(ExportByColumnReq req);
2 months ago
/// <summary>
///
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public Task<MemoryStream> ExportExcelStreamByColumnAsync(ExportByColumnReq req);
}
}