From 5e3bf2e6ab9b4edbdc459388a4039e35554a799e Mon Sep 17 00:00:00 2001 From: Administrator Date: Sat, 7 May 2022 18:23:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Services/Report/UnSettledSumService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/UnSettledSumService.cs b/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/UnSettledSumService.cs index 67b3b56b..3a94ee2c 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/UnSettledSumService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/UnSettledSumService.cs @@ -89,8 +89,8 @@ namespace SettleAccount.Job.Services.Report ExcelExporter _exporter = new ExcelExporter();//导出Excel var result = _exporter.Append(_lsExport, "汇总核对表1") - .SeparateBySheet() - .Append(_lsleft, "汇总核对表2") + //.SeparateBySheet() + //.Append(_lsleft, "汇总核对表2") .ExportAppendDataAsByteArray(); result.ShouldNotBeNull(); _fileContainer.SaveAsync("结算未结寄售核对表", result.Result, true); @@ -143,7 +143,7 @@ namespace SettleAccount.Job.Services.Report ); _list.AddRange(_lst); - _list = _list.Where(p => p.SapMaterialCode == p.MaterialCode).ToList(); + _list = _list.Where(p => p.SapMaterialCode == p.ParentSapMaterialCode).ToList();