|
|
@ -308,9 +308,9 @@ namespace SettleAccount.Job.Services.Report |
|
|
|
|
|
|
|
#region 多线程生成Excel
|
|
|
|
|
|
|
|
haveSaNotHaveSeExport.AddRange(notHaveSaHaveSeExports); |
|
|
|
//haveSaNotHaveSeExport.AddRange(notHaveSaHaveSeExports);
|
|
|
|
|
|
|
|
haveSaNotHaveSeExport.AddRange(haveSaHaveSeExport); |
|
|
|
//haveSaNotHaveSeExport.AddRange(haveSaHaveSeExport);
|
|
|
|
|
|
|
|
NopiExtendExcel<T> nopiExcel = new NopiExtendExcel<T>(); |
|
|
|
|
|
|
@ -322,8 +322,13 @@ namespace SettleAccount.Job.Services.Report |
|
|
|
|
|
|
|
nopiExcel.EndPoint = _cfg.GetValue("MinIO:EndPoint", "localhost:10684"); |
|
|
|
|
|
|
|
var uploadResult = nopiExcel.WriteDataToExcelInParallel($"{businessTypeDisplayName}结算数据和发货对比", haveSaNotHaveSeExport, 500000, fileName, haveSaHaveSeSumExports).ConfigureAwait(false); |
|
|
|
//var uploadResult = nopiExcel.WriteDataToExcelInParallel($"{businessTypeDisplayName}结算数据和发货对比", haveSaNotHaveSeExport, 500000, fileName, haveSaHaveSeSumExports, false).ConfigureAwait(false);
|
|
|
|
|
|
|
|
nopiExcel.WriteDataToExcelInParallel($"{businessTypeDisplayName}结算和发货对比_有结无发", haveSaNotHaveSeExport, 500000, fileName, null, false).ConfigureAwait(false); |
|
|
|
|
|
|
|
nopiExcel.WriteDataToExcelInParallel($"{businessTypeDisplayName}结算和发货对比_有发无结", notHaveSaHaveSeExports, 500000, fileName, null, false).ConfigureAwait(false); |
|
|
|
|
|
|
|
nopiExcel.WriteDataToExcelInParallel($"{businessTypeDisplayName}结算和发货对比_有结有发", haveSaHaveSeExport, 500000, fileName, haveSaHaveSeSumExports, true).ConfigureAwait(false); |
|
|
|
return fileName; |
|
|
|
#endregion
|
|
|
|
|
|
|
|