1
huanghongfeng
2024-11-11 3ecd03b3a0a30a57153468beaed3199bfe906772
代码管理/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
{
@@ -57,10 +58,10 @@
            return Service.IsRelocations(TaskNum, SourceAddress);
        }
        [HttpGet, Route("GenerateInventoryInformation"), AllowAnonymous]
        public WebResponseContent GenerateInventoryInformation(string SourceAddress, string PalletCode)
        [HttpPost, Route("GenerateInventoryInformation"), AllowAnonymous]
        public WebResponseContent GenerateInventoryInformation([FromBody] GenerateInv generate)
        {
            return Service.GenerateInventoryInformation(SourceAddress, PalletCode);
            return Service.GenerateInventoryInformation(generate);
        }
        [HttpPost, Route("ManualOutbound"), AllowAnonymous]
@@ -69,7 +70,7 @@
            return Service.ManualOutbound(saveModel);
        }
        [HttpPost, Route("Empty_outbound"), AllowAnonymous]
        [HttpGet, Route("Empty_outbound"), AllowAnonymous]
        public WebResponseContent Empty_outbound(string SourceAddress)
        {
            return Service.Empty_outbound(SourceAddress);
@@ -84,5 +85,7 @@
        {
            return Service.RelocationTaskCompleted(PalletCode, SourceAddress, TargetAddress);
        }
    }
}