From 19fca3cc33f5830c09d69e5e2f6ad755b4e0b410 Mon Sep 17 00:00:00 2001 From: ray Date: Mon, 24 Oct 2022 22:47:46 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E5=B7=A5=E5=96=AE=E5=9F=BA=E6=9C=AC?= =?UTF-8?q?=E8=B3=87=E6=96=99=20=E6=A8=99=E5=B7=A5=E9=A1=AF=E7=A4=BA=20CT?= =?UTF-8?q?=20=E6=94=B9=E6=8A=93=20total=5FCT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AMESCoreStudio.Web/Controllers/PCSController.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AMESCoreStudio.Web/Controllers/PCSController.cs b/AMESCoreStudio.Web/Controllers/PCSController.cs index d5f4102a..61a5fced 100644 --- a/AMESCoreStudio.Web/Controllers/PCSController.cs +++ b/AMESCoreStudio.Web/Controllers/PCSController.cs @@ -2369,7 +2369,7 @@ namespace AMESCoreStudio.Web.Controllers w.UnitNo == model.wipInfo.UnitNO).ToList(); if (standardWorkTimes.Count != 0) - model.itemNoCT1 = standardWorkTimes.Sum(m => m.CT).ToString(); + model.itemNoCT1 = standardWorkTimes.Sum(m => m.TotalCT).ToString(); } await WipDataSelectAll(model.wipAtt.WipNO, model.wipAtt.ItemNO, model.wipInfo.UnitNO); @@ -2504,7 +2504,7 @@ namespace AMESCoreStudio.Web.Controllers w.UnitNo == model.wipInfo.UnitNO).ToList(); if (standardWorkTimes.Count != 0) - model.itemNoCT1 = standardWorkTimes.Sum(m => m.CT).ToString(); + model.itemNoCT1 = standardWorkTimes.Sum(m => m.TotalCT).ToString(); } @@ -3597,7 +3597,7 @@ namespace AMESCoreStudio.Web.Controllers if (standardWorkTimes.Count > 0) { if (standardWorkTimes.Where(w => w.LineID == line_id).FirstOrDefault() != null) - ct1 = standardWorkTimes.Where(w => w.LineID == line_id).FirstOrDefault().CT.ToString(); + ct1 = standardWorkTimes.Where(w => w.LineID == line_id).FirstOrDefault().TotalCT.ToString(); } wipDataList = wipDataList + "" + unit_name + " - " + line_desc + "" + " - " + "" + wip_no + "" + "" + "(" + item_no + ")" + "" + " - " + "" + plan_qty + " / " + input_qty + " / " + output_qty + "" + " | " + "" + "標準工時: " + "" + ct1 + "
";