From c428da6d72fb39873882c2c57ffa3b77026d0438 Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期三, 24 九月 2025 09:58:32 +0800
Subject: [PATCH] 1.期初入库优化 2.巡检查询优化

---
 service/Warehouse/InventoryManager.cs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/service/Warehouse/InventoryManager.cs b/service/Warehouse/InventoryManager.cs
index 7fab709..fed3a13 100644
--- a/service/Warehouse/InventoryManager.cs
+++ b/service/Warehouse/InventoryManager.cs
@@ -226,7 +226,8 @@
                 WorkNo = c_mes_inv_item_barcodes.WorkNo,
                 WorkLine = c_mes_inv_item_barcodes.WorkLine,
                 SuppNo = c_mes_inv_item_barcodes.SuppNo,
-                ItemId = c_mes_inv_item_barcodes.ItemId
+                ItemId = c_mes_inv_item_barcodes.ItemId,
+                Description = "鏈熷垵鍏ュ簱"
             }).IgnoreColumns(true).ExecuteCommand();
 
             // 鎻掑叆搴撳瓨淇℃伅
@@ -255,6 +256,8 @@
                 ItemId = c_mes_inv_item_barcodes.ItemId,
                 IndepUserCode = c_user,
                 StockOrgId = depotSection.FSubsidiary,
+                OwnerId = depotSection.FSubsidiary,
+                OwnerType = "BD_OwnerOrg",
                 // Fsubsidiary = c_organize
             }).IgnoreColumns(true).ExecuteCommand();
 

--
Gitblit v1.9.3