From e5642daf4b6820d0706967e486b16e8d33a46d6d Mon Sep 17 00:00:00 2001 From: 刘磊 <1161824510@qq.com> Date: 星期四, 26 十二月 2024 14:37:52 +0800 Subject: [PATCH] 1 --- Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs | 22 +++++++++++++++++----- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs index 43b23b6..883a71b 100644 --- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs @@ -146,6 +146,18 @@ } /// <summary> + /// 闈欑疆NG鍏ュ簱 + /// </summary> + /// <param name="locationCode">璐т綅鍙�</param> + /// <param name="palletCode">鎵樼洏鍙�</param> + /// <returns></returns> + [HttpPost, AllowAnonymous, Route("RequestInBoundTaskNG")] + public async Task<WebResponseContent> RequestInBoundTaskNG([FromBody] RequestTaskDto input) + { + return await Service.CreateAndSendInboundTask(input.PalletCode, input.Position); + } + + /// <summary> /// 甯告俯琛ョ┖鎵樼洏鑷冲垎瀹� /// </summary> /// <param name="input">璇锋眰鏁版嵁</param> @@ -161,11 +173,11 @@ /// </summary> /// <param name="input">璇锋眰鏁版嵁</param> /// <returns></returns> - //[HttpPost, AllowAnonymous, Route("EmergencyTask")] - //public WebResponseContent EmergencyTask([FromBody] object input) - //{ - // //return Service.EmergencyTask(input); - //} + [HttpPost, AllowAnonymous, Route("EmergencyTask")] + public WebResponseContent EmergencyTask([FromBody] object input) + { + return Service.EmergencyTask(input); + } /// <summary> -- Gitblit v1.9.3