|
|
@ -1,11 +1,21 @@ |
|
|
|
using System; |
|
|
|
using System.Collections.Concurrent; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.ComponentModel.DataAnnotations; |
|
|
|
using System.Diagnostics; |
|
|
|
using System.IO.Compression; |
|
|
|
using System.IO; |
|
|
|
using System.Linq; |
|
|
|
using Magicodes.ExporterAndImporter.Core; |
|
|
|
using System.Reflection; |
|
|
|
using System.Threading.Tasks; |
|
|
|
using System.Threading; |
|
|
|
using Magicodes.ExporterAndImporter.Core.Extension; |
|
|
|
using Magicodes.ExporterAndImporter.Excel; |
|
|
|
using Microsoft.AspNetCore.SignalR; |
|
|
|
using Microsoft.OpenApi.Extensions; |
|
|
|
using NPOI.SS.UserModel; |
|
|
|
using NPOI.XSSF.UserModel; |
|
|
|
using SettleAccount.Bases; |
|
|
|
using SettleAccount.Domain.BQ; |
|
|
|
using SettleAccount.Job.SignalR; |
|
|
@ -196,6 +206,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
|
notHaveEdiHaveSeList.AddRange(haveEdiHaveSeList); |
|
|
|
notHaveEdiHaveSeList.Reverse(); |
|
|
|
|
|
|
|
//生成对比Excel文件
|
|
|
|
var excelExporter = new ExcelExporter(); |
|
|
|
// EDI数据和发货对比
|
|
|
|
excelExporter.Append(haveEdiNotHaveSeList.Take(maxRowNumberOnASheet).ToList(), $"{businessTypeDisplayName}EDI数据和发货对比"); |
|
|
@ -231,5 +242,9 @@ namespace SettleAccount.Job.Services.Report |
|
|
|
return sequenceNumberDate; |
|
|
|
} |
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region 生成Excel公共方法
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
} |
|
|
|
} |
|
|
|