From 2074847c3e4c2be615c6a93000d5d9ac1f48d070 Mon Sep 17 00:00:00 2001 From: Yiru Date: Mon, 7 Aug 2023 16:09:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=8C=E5=B7=A5=E5=85=A5?= =?UTF-8?q?=E5=BA=AB=20=E6=98=B6=E4=BA=A8=E6=96=99=E8=99=9F=E9=9C=80?= =?UTF-8?q?=E8=BD=89=E6=8F=9B=E7=82=BA=E5=AE=89=E5=8B=A4=E6=96=99=E8=99=9F?= 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 cb30bcb1..4b4d484e 100644 --- a/AMESCoreStudio.Web/Controllers/PCSController.cs +++ b/AMESCoreStudio.Web/Controllers/PCSController.cs @@ -7663,11 +7663,11 @@ namespace AMESCoreStudio.Web.Controllers var WipAtt_result = new WipAtt(); if (factorityID == "1") { - WipAtt_result = await _pcsApi.GetWipAtt(Wipinfo_result.Select(s => s.WipNO).First()); //料號 + WipAtt_result = await _pcsApi.GetWipAtt(Wipinfo_result.Select(s => s.WipNO).FirstOrDefault()); //料號 } else - { - WipAtt_result = await _pcsApi.GetWipAtt_EVER(Wipinfo_result.Select(s => s.WipNO).First()); //料號 + {//這裡需要對應到安勤的料號 + WipAtt_result = await _pcsApi.GetWipAtt(Wipinfo_result.Select(s => s.RelatedWONO).FirstOrDefault()); //料號 } var Userinfo_result = new List(); if (factorityID == "1")