From 3de39066b5894850d0f0dc311b60cc09f599a025 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期四, 26 二月 2026 14:30:06 +0800
Subject: [PATCH] 修复图片导入;重构路由和堆垛机命令

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs |   48 +++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 47 insertions(+), 1 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
index ad0b435..c0c9b7f 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
@@ -4,6 +4,7 @@
 using WIDESEA_Common.CommonEnum;
 using WIDESEA_Core;
 using WIDESEA_Core.BaseController;
+using WIDESEA_DTO;
 using WIDESEA_DTO.Stock;
 using WIDESEA_DTO.Task;
 using WIDESEA_ITaskInfoService;
@@ -27,9 +28,54 @@
         /// </summary>
         /// <param name="taskDto"></param>
         /// <returns></returns>
-        public async Task<WebResponseContent?> CreateTaskInboundAsync(CreateTaskDto taskDto)
+        [HttpPost("CreateTaskInbound"),AllowAnonymous]
+        public async Task<WebResponseContent?> CreateTaskInboundAsync([FromBody] CreateTaskDto taskDto)
         {
             return await Service.CreateTaskInboundAsync(taskDto);
         }
+
+        /// <summary>
+        /// 鍫嗗灈鏈哄彇鏀捐揣瀹屾垚鍚庣墿娴侀�氱煡鍖栨垚鍒嗗鏌滃畬鎴愪俊鍙�
+        /// </summary>
+        /// <param name="input"></param>
+        /// <returns></returns>
+        [HttpPost("InOrOutCompleted"), AllowAnonymous]
+        public async Task<WebResponseContent?> InOrOutCompletedAsync([FromBody] InputDto input)
+        {
+            return await Service.InOrOutCompletedAsync(input);
+        }
+
+        /// <summary>
+        /// 鍖栨垚鍒嗗鏌滃畾鏃跺悜鐗╂祦鏇存柊鍒嗗鏌滅姸鎬佷俊鎭�
+        /// </summary>
+        /// <param name="input"></param>
+        /// <returns></returns>
+        [HttpPost("SendLocationStatus"), AllowAnonymous]
+        public async Task<WebResponseContent?> SendLocationStatusAsync([FromBody] InputDto input)
+        {
+            return await Service.SendLocationStatusAsync(input);
+        }
+
+        /// <summary>
+        /// 鍒嗗鏌滃伐浣滃畬鎴愬悗璋冪敤姝ゆ帴鍙i�氱煡鐗╂祦鍑哄簱
+        /// </summary>
+        /// <param name="input"></param>
+        /// <returns></returns>
+        [HttpPost("RequestOutbound"), AllowAnonymous]
+        public async Task<WebResponseContent?> RequestOutboundAsync([FromBody] InputDto input)
+        {
+            return await Service.RequestOutboundAsync(input);
+        }
+
+        /// <summary>
+        /// 鍏ュ簱瀹屾垚鍒嗗璋冪敤鑾峰彇鎵樼洏涓婃瘡涓�氶亾鐢佃姱
+        /// </summary>
+        /// <param name="input"></param>
+        /// <returns></returns>
+        [HttpPost("GetPalletCodeCell"), AllowAnonymous]
+        public async Task<WebResponseContent?> GetPalletCodeCellAsync([FromBody] InputDto input)
+        {
+            return await Service.GetPalletCodeCellAsync(input);
+        }
     }
 }

--
Gitblit v1.9.3