From 5ab6b36c0c4bd80a31dcdd9f15cc835b7352c4e7 Mon Sep 17 00:00:00 2001 From: wangxinhui <wangxinhui@hnkhzn.com> Date: 星期四, 16 一月 2025 11:08:02 +0800 Subject: [PATCH] 1 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs | 50 ++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 44 insertions(+), 6 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs" index 3b3657b..ed76f00 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs" @@ -89,7 +89,21 @@ [HttpPost, HttpGet, Route("DeviceRequestInboundTaskSimple"), AllowAnonymous] public WebResponseContent DeviceRequestInboundTaskSimple(string stationCode, string palletCode) { - return Service.DeviceRequestInboundTask(stationCode, palletCode); + return Service.DeviceRequestInboundTaskSimple(stationCode, palletCode); + } + + /// <summary> + /// + /// </summary> + /// <param name="stationCode"></param> + /// <param name="palletCode"></param> + /// <param name="roadwayNos"></param> + /// <param name="heightType"></param> + /// <returns></returns> + [HttpPost, HttpGet, Route("DeviceRequestInboundTaskByRoadways"), AllowAnonymous] + public WebResponseContent DeviceRequestInboundTaskByRoadways(string stationCode, string palletCode, int heightType, [FromBody] List<string> roadwayNos) + { + return Service.DeviceRequestInboundTaskByRoadways(stationCode, palletCode, roadwayNos, heightType); } /// <summary> @@ -158,9 +172,9 @@ /// <param name="keys"></param> /// <returns></returns> [HttpPost, HttpGet, Route("GenerateOutboundTasks"), AllowAnonymous] - public WebResponseContent GenerateOutboundTask([FromBody] int[] keys) + public WebResponseContent GenerateOutboundTasks([FromBody] int[] keys) { - return Service.GenerateOutboundTask(keys); + return Service.GenerateOutboundTasks(keys); } /// <summary> @@ -229,7 +243,20 @@ [HttpPost, Route("AssignRoadwayByHeight"), AllowAnonymous] public WebResponseContent AssignRoadwayByHeight([FromBody] List<string> roadwayNos, int taskNum, int heightType = 0) { - return Service.AssignRoadway(roadwayNos, taskNum, heightType); + return Service.AssignRoadwayByHeight(roadwayNos, taskNum, heightType); + } + + /// <summary> + /// + /// </summary> + /// <param name="roadwayNos"></param> + /// <param name="palletCode"></param> + /// <param name="heightType"></param> + /// <returns></returns> + [HttpPost, Route("AssignRoadwayByHeightAndCode"), AllowAnonymous] + public WebResponseContent AssignRoadwayByHeightAndCode([FromBody] List<string> roadwayNos, string palletCode, int heightType = 0) + { + return Service.AssignRoadwayByHeightAndCode(roadwayNos, palletCode, heightType); } /// <summary> @@ -250,9 +277,20 @@ /// <param name="roadwayNos"></param> /// <returns></returns> [HttpPost, Route("SingleAssignRoadway"), AllowAnonymous] - public WebResponseContent AssignRoadway([FromBody] List<string> roadwayNos) + public WebResponseContent SingleAssignRoadway([FromBody] List<string> roadwayNos) { - return Service.AssignRoadway(roadwayNos); + return Service.SingleAssignRoadway(roadwayNos); + } + + /// <summary> + /// + /// </summary> + /// <param name="orderId"></param> + /// <returns></returns> + [HttpPost, Route("HandSubstrateOut")] + public WebResponseContent HandSubstrateOut(int orderId) + { + return Service.HandSubstrateOut(orderId); } /// <summary> -- Gitblit v1.9.3