From 8e47218fc2098d6fda1c7e258164b73a0d67fbed Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期三, 05 三月 2025 10:27:48 +0800
Subject: [PATCH] 1.其他出库优化 2.委外退料单新增dabid 3.其他入库新增dabid

---
 service/Wom/WwGdManager.cs |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/service/Wom/WwGdManager.cs b/service/Wom/WwGdManager.cs
index 7dafa9b..f04b3ea 100644
--- a/service/Wom/WwGdManager.cs
+++ b/service/Wom/WwGdManager.cs
@@ -450,7 +450,8 @@
                     LineK3id = c_mes_inv_item_barcodes.LineK3id,
                     ItemId = c_mes_inv_item_barcodes.ItemId,
                     DepotCode = c_mes_depots.DepotCode,
-                    DepotId = c_depot_code.ToString()
+                    DepotId = c_depot_code.ToString(),
+                    itemDabid = c_mes_inv_item_barcodes.AboutGuid.ToString()
                 }).IgnoreColumns(true).ExecuteCommand();
             else
                 // 瀛樺湪鏃舵洿鏂版暟閲�
@@ -621,9 +622,9 @@
                                  (int)c_mes_inv_item_barcodes.Quantity // 澧炲姞宸查��鏁伴噺
                     })
                     .Where(it => it.Tlmid == C_MES_ITEM_TBL.Id
-                                 && it.Tld009 == c_mes_inv_item_barcodes.ItemId
-                                 && it.Tld010 ==
-                                 c_mes_inv_item_barcodes.WorkLine)
+                                 && it.Tld009 == c_mes_inv_item_barcodes.ItemId)
+                                 //&& it.Tld010 ==
+                                 //c_mes_inv_item_barcodes.WorkLine)
                     .ExecuteCommand();
             }
             // 浣滀笟涓嶈壇閫�鏂� - 鏇存柊宸ュ崟琛ㄥ拰閫�鏂欏崟鏄庣粏琛�
@@ -655,9 +656,9 @@
                                  (int)c_mes_inv_item_barcodes.Quantity // 澧炲姞宸查��鏁伴噺
                     })
                     .Where(it => it.Tlmid == C_MES_ITEM_TBL.Id
-                                 && it.Tld009 == c_mes_inv_item_barcodes.ItemId
-                                 && it.Tld010 ==
-                                 c_mes_inv_item_barcodes.WorkLine)
+                                 && it.Tld009 == c_mes_inv_item_barcodes.ItemId)
+                                 //&& it.Tld010 ==
+                                 //c_mes_inv_item_barcodes.WorkLine)
                     .ExecuteCommand();
             }
 

--
Gitblit v1.9.3