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();