From 10283f5b4c0c130ab9f1653b05a359d2994eb1e3 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期五, 17 十月 2025 01:06:01 +0800
Subject: [PATCH] 添加PDA入库、PDA出库、PDA盘点功能

---
 新建文件夹/WIDESEA_WMSServer/ClassLibrary2/InventoryInfoService.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/ClassLibrary2/InventoryInfoService.cs" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/ClassLibrary2/InventoryInfoService.cs"
index baf64b9..858b401 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/ClassLibrary2/InventoryInfoService.cs"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/ClassLibrary2/InventoryInfoService.cs"
@@ -21,6 +21,7 @@
         public InventoryInfoService(IRepository<Dt_InventoryInfo> BaseDal) : base(BaseDal)
         {
         }
+        public IRepository<Dt_InventoryInfo> Repository => BaseDal;
 
         /// <summary>
         /// wcs鍥炰紶缁欐垜璋冪敤鎴戠殑鏂规硶
@@ -60,7 +61,7 @@
                         entity = new Dt_InventoryInfo
                         {
                             PalletCode = detail.orderDetails?.FirstOrDefault()?.palletCode ?? "",
-                            WarehouseId = 001,  // 榛樿搴撴埧缂栧彿锛屽彲鏍规嵁涓氬姟鏀�
+                            WarehouseCode = 001.ToString(),  // 榛樿搴撴埧缂栧彿锛屽彲鏍规嵁涓氬姟鏀�
                             LocationCode = "", // 鏆傛棤鍙┖
                             StockStatus = 1,   // 绔嬪簱鍥哄畾涓� 1
                             MaterielCode = detail.productCode ?? detail.productName,

--
Gitblit v1.9.3