From a7f9f1c44f6a1201061e12dbb4c5424f4b44737c Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期一, 23 十二月 2024 21:07:33 +0800
Subject: [PATCH] Update ITaskService.cs

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/MES/MesController.cs |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/MES/MesController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/MES/MesController.cs"
index 7c91fd8..4ef3bc1 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/MES/MesController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/MES/MesController.cs"
@@ -39,10 +39,20 @@
         /// </summary>
         /// <param name="model"></param>
         /// <returns></returns>
-        //[HttpPost, Route("TestToolOut"), AllowAnonymous, MethodParamsValidate]
-        //public MesResponseContent TestToolOut([FromBody] Root<TestToolOutModel> model)
-        //{
-        //    return _taskService.TestToolOut(model.Content);
-        //}
+        [HttpPost, Route("TestToolOut"), AllowAnonymous, MethodParamsValidate]
+        public MesResponseContent TestToolOut([FromBody] Root<TestToolOutModel> model)
+        {
+            return _taskService.TestToolOut(model.Content);
+        }
+        /// <summary>
+        /// 鎺ユ敹MES娴嬭瘯鏋堕��搴�
+        /// </summary>
+        /// <param name="model"></param>
+        /// <returns></returns>
+        [HttpPost, Route("TestReturnStock"), AllowAnonymous, MethodParamsValidate]
+        public MesResponseContent TestReturnStock([FromBody] Root<TestToolBackModel> model)
+        {
+            return _taskService.TestReturnStock(model.Content);
+        }
     }
 }

--
Gitblit v1.9.3