From e646950cee8a90926f837dbdb0af8cb1bf7e21b9 Mon Sep 17 00:00:00 2001 From: wangzelong <2692854983@qq.com> Date: 星期四, 15 九月 2022 17:16:46 +0800 Subject: [PATCH] 报表-月(暂时) --- Application/IStation.Application.DataFile/Report/PdfCreate/Eta_Day_ReportPdf.cs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Application/IStation.Application.DataFile/Report/PdfCreate/ReportPdf4Default.cs b/Application/IStation.Application.DataFile/Report/PdfCreate/Eta_Day_ReportPdf.cs similarity index 98% rename from Application/IStation.Application.DataFile/Report/PdfCreate/ReportPdf4Default.cs rename to Application/IStation.Application.DataFile/Report/PdfCreate/Eta_Day_ReportPdf.cs index 596930c..f661e1a 100644 --- a/Application/IStation.Application.DataFile/Report/PdfCreate/ReportPdf4Default.cs +++ b/Application/IStation.Application.DataFile/Report/PdfCreate/Eta_Day_ReportPdf.cs @@ -13,7 +13,7 @@ /// <summary> /// /// </summary> - public class ReportPdf4Default + public class Eta_Day_ReportPdf { #region 灞炴�� Document _document; @@ -349,12 +349,13 @@ var ProductList = new Service.Product().GetByCorpID(list.FirstOrDefault().CorpID); cell = CreateCell2("鑳芥晥淇℃伅", _fontSize11, 5, 1, 40, 0, Element.ALIGN_CENTER); table.AddCell(cell); + var seviceEnginePump = new Service.Product(); foreach (var item in list) { var EnginePumpLine = pipeList?.Find(x => x.ID == item.ObjectID); var EnginePump = ProductList.Find(x => x.BelongID == stationID && x.Name == EnginePumpLine.Name); - var Pump = new Service.Product().GetChildPumpByEnginePumpID(EnginePump.CorpID, EnginePump.ID); - var Motor = new Service.Product().GetChildMotorByEnginePumpID(EnginePump.CorpID, EnginePump.ID); + var Pump = seviceEnginePump.GetChildPumpByEnginePumpID(EnginePump.CorpID, EnginePump.ID); + var Motor = seviceEnginePump.GetChildMotorByEnginePumpID(EnginePump.CorpID, EnginePump.ID); cell = CreateCell2(EnginePump?.Name, _fontSize11, 1, 4, 40, 0, Element.ALIGN_CENTER); table.AddCell(cell); -- Gitblit v1.9.3