From 564f6a660dfb2a5df8a5e3d174d6aa7d483efe3d Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期五, 17 十月 2025 15:57:08 +0800
Subject: [PATCH] 修改表

---
 新建文件夹/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