From 829eabf256e29392ca63f6da48829dba3b075dfe Mon Sep 17 00:00:00 2001 From: huanghongfeng <huanghongfeng@hnkhzn.com> Date: 星期五, 24 一月 2025 08:59:53 +0800 Subject: [PATCH] 资料,优化程序 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs | 46 ++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 38 insertions(+), 8 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 beb2c7e..32b1612 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" @@ -25,9 +25,9 @@ } [HttpGet, Route("TaskCompleted"), AllowAnonymous] - public WebResponseContent TaskCompleted(int taskNum) + public WebResponseContent TaskCompleted(int taskNum,int HowWorks) { - return Service.TaskCompleted(taskNum); + return Service.TaskCompleted(taskNum, HowWorks); } [HttpPost, Route("GenerateOutboundTask")] @@ -64,12 +64,31 @@ return Service.GenerateInventoryInformation(generate); } - [HttpPost, Route("ManualOutbound"), AllowAnonymous] + [HttpPost, Route("ManualOutbound"), AllowAnonymous] public WebResponseContent ManualOutbound([FromBody] SaveModel saveModel) { return Service.ManualOutbound(saveModel); } - + [HttpPost, Route("ManualOutbound2"), AllowAnonymous] + public WebResponseContent ManualOutbound2([FromBody] SaveModel saveModel) + { + return Service.ManualOutbound2(saveModel); + } + [HttpPost, Route("ManualOutbound3"), AllowAnonymous] + public WebResponseContent ManualOutbound3([FromBody] SaveModel saveModel) + { + return Service.ManualOutbound3(saveModel); + } + [HttpPost, Route("ManualOutbound4"), AllowAnonymous] + public WebResponseContent ManualOutbound4([FromBody] SaveModel saveModel) + { + return Service.ManualOutbound4(saveModel); + } + [HttpPost, Route("ManualOutboundDeleteinventory"), AllowAnonymous] + public WebResponseContent ManualOutboundDeleteinventory([FromBody] SaveModel saveModel) + { + return Service.ManualOutboundDeleteinventory(saveModel); + } [HttpPost, Route("Empty_outbound"), AllowAnonymous] public WebResponseContent Empty_outbound([FromBody] GenerateInv generate) { @@ -78,12 +97,17 @@ [HttpPost, Route("Queryinventory"), AllowAnonymous] public WebResponseContent Queryinventory([FromBody] GenerateInv generate) { - return Service.Queryinventory(generate); + return Service.Queryinventory(generate); } - [HttpPost, Route("RelocationTaskCompleted"), AllowAnonymous] - public WebResponseContent RelocationTaskCompleted([FromBody] GenerateInv2 generate) + [HttpGet, Route("PalletQueryinventory"), AllowAnonymous] + public WebResponseContent PalletQueryinventory() { - return Service.RelocationTaskCompleted(generate); + return Service.PalletQueryinventory(); + } + [HttpPost, Route("RelocationInTaskCompleted"), AllowAnonymous] + public WebResponseContent RelocationInTaskCompleted([FromBody] Dt_Task task) + { + return Service.RelocationInTaskCompleted(task); } [HttpPost, Route("Rawmaterialout"), AllowAnonymous] @@ -91,5 +115,11 @@ { return Service.Rawmaterialout(generate); } + + [HttpGet, Route("Cancelinventory"), AllowAnonymous] + public WebResponseContent Cancelinventory(int taskNum) + { + return Service.Cancelinventory(taskNum); + } } } -- Gitblit v1.9.3