From eb0ad83719de660e5c4f7676aea4710625b6bd51 Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期四, 19 十二月 2024 21:55:43 +0800
Subject: [PATCH] WMS增加标准上下架功能事务

---
 Tiger.Business.WMS/Transaction/Old/InReceipt.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Tiger.Business.WMS/Transaction/InReceipt.cs b/Tiger.Business.WMS/Transaction/Old/InReceipt.cs
similarity index 99%
rename from Tiger.Business.WMS/Transaction/InReceipt.cs
rename to Tiger.Business.WMS/Transaction/Old/InReceipt.cs
index a4edbd1..c2d278b 100644
--- a/Tiger.Business.WMS/Transaction/InReceipt.cs
+++ b/Tiger.Business.WMS/Transaction/Old/InReceipt.cs
@@ -30,7 +30,7 @@
         #region Propertys & Variables
 
         public string UserCode { get; set; }
-        public static long UserId { get; set; }
+        public long UserId { get; set; }
         public string VenderCode { get; set; }
         public string SecondVenderCode { get; set; }
         public string WarehouseCode { get; set; }
@@ -92,14 +92,14 @@
                 #endregion 鎶ュ叧鍗曞彿鍒ゆ柇
 
                 //瑙f瀽鏉$爜
-                Result<Inventory> result = WMS_ITEM_Biz.WmsItem.Get(input.SN, input.AuthOption, false);
+                Result<IInventory> result = WMS_ITEM_Biz.WmsItem.Get(input.SN, input.AuthOption, false);
                 if (result.Flag != Result.Flags.Success)
                 {
                     action.IsSuccessed = false;
                     action.LocaleMsg = result.LocaleMsg;
                     return action;
                 }
-                inv = result.Data;
+                inv = result.Data as Inventory;
 
                 #region 鍒ゆ柇褰撳墠鏉$爜瀵瑰簲鐨凷RM鐘舵��
 

--
Gitblit v1.9.3