using DllEapCommon.NPOI; using NPOI.SS.UserModel; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace DllEapBll.Services { /// /// 导出数据类 /// public class ExcelExportService { /// /// 导出到Excel /// /// /// /// public async Task ExportExcel(List entities) where T : class, new() { var exportHelper = DataExportHelper.EntityToExcel(entities); await Task.CompletedTask; return exportHelper; } } }