From 87d873ad509b4c927ac19aebaa3622fe9374626b Mon Sep 17 00:00:00 2001 From: huanghongfeng <huanghongfeng@hnkhzn.com> Date: 星期二, 26 十一月 2024 11:13:02 +0800 Subject: [PATCH] 1 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs | 63 +++++++++++++++++++++++++++++++ 1 files changed, 62 insertions(+), 1 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 bfe0b43..957c788 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" @@ -6,6 +6,7 @@ using WIDESEA_DTO.Stock; using WIDESEA_ITaskInfoService; using WIDESEA_Model.Models; +using static WIDESEA_ITaskInfoService.ITaskService; namespace WIDESEA_WMSServer.Controllers.TaskInfo { @@ -23,7 +24,7 @@ return Service.GenerateInboundTask(stationCode, inboundType, palletCode); } - [HttpPost, Route("TaskCompleted")] + [HttpGet, Route("TaskCompleted"), AllowAnonymous] public WebResponseContent TaskCompleted(int taskNum) { return Service.TaskCompleted(taskNum); @@ -50,5 +51,65 @@ { return Service.InboundRequest(stationCode, palletCode); } + + [HttpGet, Route("IsRelocations"),AllowAnonymous] + public WebResponseContent IsRelocations(int TaskNum, string SourceAddress) + { + return Service.IsRelocations(TaskNum, SourceAddress); + } + + [HttpPost, Route("GenerateInventoryInformation"), AllowAnonymous] + public WebResponseContent GenerateInventoryInformation([FromBody] GenerateInv generate) + { + return Service.GenerateInventoryInformation(generate); + } + + [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("ManualOutboundDeleteinventory"), AllowAnonymous] + public WebResponseContent ManualOutboundDeleteinventory([FromBody] SaveModel saveModel) + { + return Service.ManualOutboundDeleteinventory(saveModel); + } + [HttpPost, Route("Empty_outbound"), AllowAnonymous] + public WebResponseContent Empty_outbound([FromBody] GenerateInv generate) + { + return Service.Empty_outbound(generate); + } + [HttpPost, Route("Queryinventory"), AllowAnonymous] + public WebResponseContent Queryinventory([FromBody] GenerateInv generate) + { + return Service.Queryinventory(generate); + } + [HttpGet, Route("PalletQueryinventory"), AllowAnonymous] + public WebResponseContent PalletQueryinventory() + { + return Service.PalletQueryinventory(); + } + [HttpPost, Route("RelocationTaskCompleted"), AllowAnonymous] + public WebResponseContent RelocationTaskCompleted([FromBody] GenerateInv2 generate) + { + return Service.RelocationTaskCompleted(generate); + } + + [HttpPost, Route("Rawmaterialout"), AllowAnonymous] + public WebResponseContent Rawmaterialout([FromBody]GenerateInv3 generate) + { + return Service.Rawmaterialout(generate); + } + + [HttpGet, Route("Cancelinventory"), AllowAnonymous] + public WebResponseContent Cancelinventory(int taskNum) + { + return Service.Cancelinventory(taskNum); + } } } -- Gitblit v1.9.3