From 882170c9dbe7e1c5a3e859ac2fde7234e4ab462e Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周五, 23 8月 2024 15:16:47 +0800
Subject: [PATCH] NOOK推出时,更新质量状态 【Editby shaocx,2024-08-23】

---
 DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/BLL/WorkPieceInfoManager.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/BLL/WorkPieceInfoManager.cs b/DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/BLL/WorkPieceInfoManager.cs
index f33d548..4df18b8 100644
--- a/DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/BLL/WorkPieceInfoManager.cs
+++ b/DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/BLL/WorkPieceInfoManager.cs
@@ -965,6 +965,8 @@
                             pro.UpdatedTime = DateTimeHelper.GetDateTime();
                         }
 
+                        QualityStateHelper.SetQualityStateForNoOk(ref info, ref pro);
+
                         db.WorkPieceInfoLog.Add(GetAddWorkPieceInfoLog(info));
 
                     }

--
Gitblit v1.9.3