From e990cf78de3e145f4a4b1493901c8d8caf95e53d Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期四, 05 十二月 2024 11:50:48 +0800
Subject: [PATCH] 解绑优化

---
 Tiger.Business.MES/Common/WorkBatch.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Tiger.Business.MES/Common/WorkBatch.cs b/Tiger.Business.MES/Common/WorkBatch.cs
index fa91614..0259371 100644
--- a/Tiger.Business.MES/Common/WorkBatch.cs
+++ b/Tiger.Business.MES/Common/WorkBatch.cs
@@ -642,7 +642,7 @@
                             .ExecuteCommand();
                 //MES_WIP_DATA & MES_WIP_HIS
                 var wipHiss = new List<MES_WIP_HIS>();
-                foreach (var wipSN in wipList.Where(q => q.STATUS != MES_WIP_DATA.STATUSs.Offline.GetValue()))
+                foreach (var wipSN in wipList) //.Where(q => q.STATUS != MES_WIP_DATA.STATUSs.Offline.GetValue())
                 {
                     wipSN.STATUS = MES_WIP_DATA.STATUSs.Offline.GetValue();
                     wipSN.TRAY_SN = wipSN.INNER_SN = wipSN.CARTON_SN = wipSN.PALLET_SN = wipSN.SHIPPING_ORDER = null;

--
Gitblit v1.9.3