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/TaskInfo/TaskController.cs | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 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 30aaf39..67ca56d 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" @@ -35,10 +35,14 @@ /// <param name="stationCode"></param> /// <returns></returns> [HttpPost, HttpGet, Route("RequestInboundTask"), AllowAnonymous] - public WebResponseContent RequestInboundTask(string palletCode, string stationCode) + public WebResponseContent RequestInboundTask([FromBody] SaveModel saveModel) { - return Service.RequestInboundTask(palletCode, stationCode); + return Service.RequestInboundTask(saveModel); } + //public WebResponseContent RequestInboundTask(string palletCode, string stationCode) + //{ + // return Service.RequestInboundTask(palletCode, stationCode); + //} /// <summary> /// 鍏ュ簱浠诲姟鐢宠鍒嗛厤璐т綅 @@ -96,5 +100,11 @@ { return Service.OutboundTaskCompleted(taskNum); } + + [HttpPost, HttpGet, Route("IsRelocation"), AllowAnonymous] + public WebResponseContent IsRelocation(int taskNum, string locationCode) + { + return Service.IsRelocation(taskNum, locationCode); + } } } -- Gitblit v1.9.3