From 9a0acba23c5b5095be2a89b8ca190fe5202c2ea6 Mon Sep 17 00:00:00 2001
From: duyongjia <adu_555@163.com>
Date: 星期日, 29 十二月 2024 15:58:45 +0800
Subject: [PATCH] 最新修改

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_JobService.cs |   55 +++++++++----------------------------------------------
 1 files changed, 9 insertions(+), 46 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_JobService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_JobService.cs"
index c5813fb..2c3506a 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_JobService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_JobService.cs"
@@ -226,13 +226,20 @@
                 LikuServiceReference.WmsStereoWhServiceClient likuClient = new LikuServiceReference.WmsStereoWhServiceClient();
 
                 string inparam = JsonConvert.SerializeObject(putAwayReturn);
+                new LogFactory().GetLog("BYD_WMS鎺ュ彛").InfoFormat(true, "CallPutAwayReturn", "璇锋眰", $"{inparam}");
                 string response = likuClient.putAwayReturn(inparam);
                 if (response != null)
                 {
                     PutAwayReturnResponse res = JsonConvert.DeserializeObject<PutAwayReturnResponse>(response);
                     if (res != null && res.MSGTX == "S")
                     {
-                        content = WebResponseContent.Instance.OK("浣欐枡鍥炲簱鍥炰紶鎴愬姛锛�");
+                        content = WebResponseContent.Instance.OK("涓婃灦鍥炰紶鎴愬姛锛�");
+                        new LogFactory().GetLog("BYD_WMS鎺ュ彛").InfoFormat(true, "CallPutAwayReturn", "鍝嶅簲", $"涓婃灦鍥炰紶鎴愬姛锛�");
+                    }
+                    else
+                    {
+                        content = WebResponseContent.Instance.Error("涓婃灦鍥炰紶澶辫触锛�");
+                        new LogFactory().GetLog("BYD_WMS鎺ュ彛").InfoFormat(true, "CallPutAwayReturn", "鍝嶅簲", $"涓婃灦鍥炰紶澶辫触锛�");
                     }
                 }
 
@@ -240,6 +247,7 @@
             catch (Exception ex)
             {
                 content = WebResponseContent.Instance.Error(ex.Message);
+                new LogFactory().GetLog("BYD_WMS鎺ュ彛").InfoFormat(true, "CallPutAwayReturn", "寮傚父", $"{ex.Message}");
             }
             return content;
 
@@ -510,51 +518,6 @@
 
         }
 
-
-
-        /// <summary>
-        /// 绔嬪簱WMS搴撳瓨淇℃伅鎺ュ彛锛屼緵涓婃父绯荤粺璋冪敤
-        /// </summary>
-        /// <param name="inventoryQueryRequest"></param>
-        /// <returns></returns>
-        public InventoryQueryResponse  InventoryQuery(InventoryQueryRequest inventoryQueryRequest)
-        {
-            InventoryQueryResponse inventoryQueryResponse = new InventoryQueryResponse();
-            try
-            {
-                //todo:WMS鏌ヨ瀹炴椂搴撳瓨
-
-            }
-            catch (Exception)
-            {
-
-
-            }
-            return inventoryQueryResponse;
-
-        }
-
-        /// <summary>
-        /// 绔嬪簱WMS鍐荤粨/瑙e喕淇℃伅鎺ュ彛锛屼緵涓婃父绯荤粺璋冪敤
-        /// </summary>
-        /// <param name="freezeByCustomerResponse"></param>
-        /// <returns></returns>
-        public freezeByCustomerResponse freezeByCustomer(freezeByCustomerRequest freezeRequest)
-        {
-            freezeByCustomerResponse freezeResponse = new freezeByCustomerResponse();
-            try
-            {
-                //todo:WMS鏌ヨ鍐荤粨瑙e喕淇℃伅
-
-            }
-            catch (Exception)
-            {
-
-
-            }
-            return freezeResponse;
-
-        }
 
 
 

--
Gitblit v1.9.3