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 145168b3..b6a2a311 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/UnSettledSumService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/UnSettledSumService.cs @@ -84,22 +84,25 @@ namespace SettleAccount.Job.Services.Report var _lsExport= GetReport(id,exportName,p_list); var _lsleft = GetLeftReport(id, exportName, p_list); - var _first = exportName.FirstOrDefault(); + - ExcelExporter _exporter = new ExcelExporter();//导出Excel - var result = _exporter.Append(_lsExport, "汇总核对表1") - //.SeparateBySheet() - //.Append(_lsleft, "汇总核对表2") - .ExportAppendDataAsByteArray(); - result.ShouldNotBeNull(); - _fileContainer.SaveAsync(String.Format("结算未结寄售核对表{0}.xlsx",Guid.NewGuid().ToString("N")), result.Result, true); + //ExcelExporter _exporter = new ExcelExporter();//导出Excel + //var result = _exporter.Append(_lsExport, "汇总核对表1") + ////.SeparateBySheet() + ////.Append(_lsleft, "汇总核对表2") + //.ExportAppendDataAsByteArray(); + //result.ShouldNotBeNull(); + //_fileContainer.SaveAsync(String.Format("结算未结寄售核对表{0}.xlsx",Guid.NewGuid().ToString("N")), result.Result, true); - - + var _first = exportName.FirstOrDefault(); + _outputService.Export(id, _first, _lsExport); + return id.ToString(); + + return id.ToString();