From fbfbc83d25477cf191e327e034ed996f0a2239d0 Mon Sep 17 00:00:00 2001
From: duyongjia <adu_555@163.com>
Date: 星期四, 19 十二月 2024 18:53:32 +0800
Subject: [PATCH] 上游系统对接提交

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_JobController.cs |   96 +++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 87 insertions(+), 9 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_JobController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_JobController.cs"
index 59b039f..2bf5b60 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_JobController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_JobController.cs"
@@ -7,6 +7,9 @@
 using WIDESEA_Model.Models;
 using WIDESEA_DTO.System;
 using WIDESEA_Core;
+using WIDESEA_Model;
+using WIDESEA_Model.Models.System.Request;
+using WIDESEA_Model.Models.System.Reponse;
 
 namespace WIDESEA_WMSServer.Controllers.System
 {
@@ -21,25 +24,100 @@
             _httpContextAccessor = httpContextAccessor;
             _sys_JobService = service;
         }
-
         /// <summary>
-        /// 鍚姩鏈嶅姟
+        /// 鍚屾姣斾簹杩猈MS鏉$爜涓绘暟鎹�
         /// </summary>
         /// <returns></returns>
-        [HttpPost, Route("StartServe"), AllowAnonymous]
-        public WebResponseContent StartServe()
+        [HttpPost, Route("SyncLabMaster"), AllowAnonymous]
+        public WebResponseContent SyncLabMaster()
         {
-            return _sys_JobService.StartServe();
+            return _sys_JobService.SyncLabMaster();
         }
 
         /// <summary>
-        /// 鍏抽棴鏈嶅姟
+        /// 鍥炶皟姣斾簹杩猈MS涓婃灦缁撴灉鍥炰紶
+        /// </summary>
+        /// <param name="putAway"></param>
+        /// <returns></returns>
+        [HttpPost, Route("CallPutAway"), AllowAnonymous]
+        public WebResponseContent CallPutAway([FromBody] PutAwayRequest putAway)
+        {
+            return _sys_JobService.CallPutAway(putAway);
+        }
+
+        /// <summary>
+        /// 姣斾簹杩嚭搴撴寚浠ゆ帴鍙�
+        /// </summary>
+        /// <param></param>
+        /// <returns></returns>
+        [HttpPost, Route("SelectOutStoreOrder"), AllowAnonymous]
+        public WebResponseContent SelectOutStoreOrder()
+        {
+            return _sys_JobService.SelectOutStoreOrder();
+        }
+
+
+        /// <summary>
+        /// 鍥炶皟姣斾簹杩猈MS鍑哄簱瀹屾垚淇℃伅鎺ュ彛
+        /// </summary>
+        /// <param name="pickAndPost"></param>
+        /// <returns></returns>
+        [HttpPost, Route("CallPickAndPost"), AllowAnonymous]
+        public WebResponseContent CallPickAndPost([FromBody] PickAndPostRequest pickAndPost)
+        {
+            return _sys_JobService.CallPickAndPost(pickAndPost);
+        }
+
+        /// <summary>
+        /// 绔嬪簱閫�鍥炰俊鎭帴鍙o紝渚涗笂娓哥郴缁熻皟鐢紝绔嬪簱鐢熸垚閫�璐т换鍔�
         /// </summary>
         /// <returns></returns>
-        [HttpPost, Route("CloseServe"), AllowAnonymous]
-        public WebResponseContent CloseServe()
+        [HttpPost, Route("returnInventory"), AllowAnonymous]
+        public ReturnInventoryResponse returnInventory(ReturnInventoryRequest inventoryRequest)
         {
-            return _sys_JobService.CloseServe();
+            return _sys_JobService.returnInventory(inventoryRequest);
         }
+
+        /// <summary>
+        /// 绔嬪簱WMS搴撳瓨淇℃伅鎺ュ彛锛屼緵涓婃父绯荤粺璋冪敤
+        /// </summary>
+        /// <param name="inventoryQueryRequest"></param>
+        /// <returns></returns>
+        [HttpPost, Route("InventoryQuery"), AllowAnonymous]
+        public InventoryQueryResponse InventoryQuery(InventoryQueryRequest inventoryQueryRequest)
+        {
+            return _sys_JobService.InventoryQuery(inventoryQueryRequest);
+        }
+
+
+        /// <summary>
+        /// 绔嬪簱WMS鍐荤粨/瑙e喕淇℃伅鎺ュ彛锛屼緵涓婃父绯荤粺璋冪敤
+        /// </summary>
+        /// <param name="freezeByCustomerResponse"></param>
+        /// <returns></returns>
+        [HttpPost, Route("freezeByCustomer"), AllowAnonymous]
+        public freezeByCustomerResponse freezeByCustomer(freezeByCustomerRequest freezeRequest)
+        {
+            return _sys_JobService.freezeByCustomer(freezeRequest);
+        }
+
+
+        /// <summary>
+        /// 鍥炶皟姣斾簹杩猈MS浣欐枡鍥炲簱瀹屾垚淇℃伅鎺ュ彛
+        /// </summary>
+        /// <param name="putAway"></param>
+        /// <returns></returns>
+        [HttpPost, Route("CallPutAwayReturn"), AllowAnonymous]
+        public WebResponseContent CallPutAwayReturn([FromBody] PutAwayReturnRequest putAwayReturn)
+        {
+            return _sys_JobService.CallPutAwayReturn(putAwayReturn);
+        }
+
+
+
+
+
+
+
     }
 }

--
Gitblit v1.9.3