From d4c326deaa51e7d4897a84afc339684012b8cfbe Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期五, 31 五月 2024 23:13:28 +0800
Subject: [PATCH] 把WMS移出Business

---
 Tiger.Business.WMS/Transaction/OtherInLocation.cs |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Tiger.Business/WMS/Transaction/OtherInLocation.cs b/Tiger.Business.WMS/Transaction/OtherInLocation.cs
similarity index 97%
rename from Tiger.Business/WMS/Transaction/OtherInLocation.cs
rename to Tiger.Business.WMS/Transaction/OtherInLocation.cs
index a8a7ee9..36a28c3 100644
--- a/Tiger.Business/WMS/Transaction/OtherInLocation.cs
+++ b/Tiger.Business.WMS/Transaction/OtherInLocation.cs
@@ -74,11 +74,11 @@
                     Result<Inventory> res = new();
                     if (WarehouseName.Contains("瀹緵"))
                     {
-                        res = Biz.WmsItem.GetK(input.SN, new() { UserId = "admin" }, true);
+                        res = WMS_ITEM_Biz.WmsItem.GetK(input.SN, new() { UserId = "admin" }, true);
                     }
                     else
                     {
-                        res = Biz.WmsItem.Get(input.SN, new() { UserId = "admin" }, true);
+                        res = WMS_ITEM_Biz.WmsItem.Get(input.SN, new() { UserId = "admin" }, true);
                     }
                     //鍒ゆ柇鏄惁涓�缁寸爜
                     if (!res.Data.IsQRCode)
@@ -244,7 +244,7 @@
                     }
 
                     //鎵ц鍏ュ簱
-                    Result<PutOnInfo> putonResult = Biz.WmsItem.PutOn(res.Data, input.AuthOption, nLocation.LOCATION_CODE);
+                    Result<PutOnInfo> putonResult = WMS_ITEM_Biz.WmsItem.PutOn(res.Data, input.AuthOption, nLocation.LOCATION_CODE);
                     if (!putonResult.IsSuccessed)
                     {
                         action.IsSuccessed = false;
@@ -294,7 +294,7 @@
                                               //SourceBillCode = billCode,
                         LocationCode = nLocation.LOCATION_CODE,
                         //ReceiptCode = barcodeScanned?.BUSINESSCODE,
-                        //IncompleteTips = isCompleted ? "鏁伴噺锛�0 (0鐩�)" : Biz.iWMS.GetIncompleteTipsNew(barcodeScanned?.BUSINESSCODE, barcodeScanned?.ITEM_CODE),
+                        //IncompleteTips = isCompleted ? "鏁伴噺锛�0 (0鐩�)" : iWMS.GetIncompleteTipsNew(barcodeScanned?.BUSINESSCODE, barcodeScanned?.ITEM_CODE),
                         IsScanShelf = false
                     };
                     action.LocaleMsg = Biz.L("鍏ュ簱鎴愬姛{0}", res.Data.SN);
@@ -303,7 +303,7 @@
                 //鍏朵粬鍏ュ簱
                 if (input.ReqType == 1)
                 {
-                    Result<Inventory> result = Biz.WmsItem.Get(input.SN, input.AuthOption, true);
+                    Result<Inventory> result = WMS_ITEM_Biz.WmsItem.Get(input.SN, input.AuthOption, true);
                     if (!result.IsSuccessed)
                     {
                         action.IsSuccessed = false;
@@ -407,7 +407,7 @@
                     }
 
                     //鎵ц鍏ュ簱
-                    Result<PutOnInfo> onResult = Biz.WmsItem.PutOn(inv, input.AuthOption, nLocation.LOCATION_CODE);
+                    Result<PutOnInfo> onResult = WMS_ITEM_Biz.WmsItem.PutOn(inv, input.AuthOption, nLocation.LOCATION_CODE);
                     if (!onResult.IsSuccessed)
                     {
                         action.IsSuccessed = false;
@@ -501,7 +501,7 @@
                         //SourceBillLine = Convert.ToInt32(billLine),
                         LocationCode = nLocation.LOCATION_CODE,
                         //ReceiptCode = barcodeScanned?.BUSINESSCODE,
-                        IncompleteTips = isCompleted ? "鏁伴噺锛�0 (0鐩�)" : Biz.iWMS.GetERP_OTH_INTips(billCode, inv.ItemInfo?.ITEM_CODE),
+                        IncompleteTips = isCompleted ? "鏁伴噺锛�0 (0鐩�)" : iWMS.GetERP_OTH_INTips(billCode, inv.ItemInfo?.ITEM_CODE),
                         IsScanShelf = false
                     };
                     action.Message = $"鍏朵粬鍏ュ簱鍗昜{billCode}]锛屾潯鐮乕{inv.SN}],涓婃灦鎴愬姛";

--
Gitblit v1.9.3