Browse Source

更新版本

FoShanPG
Administrator 3 years ago
parent
commit
5e3bf2e6ab
  1. 6
      src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/UnSettledSumService.cs

6
src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/UnSettledSumService.cs

@ -89,8 +89,8 @@ namespace SettleAccount.Job.Services.Report
ExcelExporter _exporter = new ExcelExporter();//导出Excel ExcelExporter _exporter = new ExcelExporter();//导出Excel
var result = _exporter.Append(_lsExport, "汇总核对表1") var result = _exporter.Append(_lsExport, "汇总核对表1")
.SeparateBySheet() //.SeparateBySheet()
.Append(_lsleft, "汇总核对表2") //.Append(_lsleft, "汇总核对表2")
.ExportAppendDataAsByteArray(); .ExportAppendDataAsByteArray();
result.ShouldNotBeNull(); result.ShouldNotBeNull();
_fileContainer.SaveAsync("结算未结寄售核对表", result.Result, true); _fileContainer.SaveAsync("结算未结寄售核对表", result.Result, true);
@ -143,7 +143,7 @@ namespace SettleAccount.Job.Services.Report
); );
_list.AddRange(_lst); _list.AddRange(_lst);
_list = _list.Where(p => p.SapMaterialCode == p.MaterialCode).ToList(); _list = _list.Where(p => p.SapMaterialCode == p.ParentSapMaterialCode).ToList();

Loading…
Cancel
Save