1
huangxiaoqiang
昨天 a296223898d61a9838bbd35ed75c87575e308a36
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Task/TaskController.cs
@@ -93,9 +93,23 @@
    /// <returns></returns>
    [HttpPost, HttpGet, AllowAnonymous, Route("OutBoundTaskAsync")]
    [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 2 })]
    public Task<WebResponseContent> OutBoundTaskAsync(string palletCode)
    public Task<WebResponseContent> OutBoundTaskAsync(string palletCode, string remark)
    {
        return Service.OutBoundTaskAsync(palletCode);
        return Service.OutBoundTaskAsync(palletCode, remark);
    }
    [HttpPost, HttpGet, AllowAnonymous, Route("OtherOutBoundTaskAsync")]
    [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 2 })]
    public Task<WebResponseContent> OtherOutBoundTaskAsync([FromBody] List<DtStockInfoDetail> details)
    {
        return Service.OtherOutBoundTaskAsync(details);
    }
    [HttpPost, HttpGet, AllowAnonymous, Route("HandAllocateOutBoundTaskAsync")]
    [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 2 })]
    public Task<WebResponseContent> HandAllocateOutBoundTaskAsync([FromBody] List<DtStockInfoDetail> details)
    {
        return Service.HandAllocateOutBoundTaskAsync(details);
    }
    /// <summary>
@@ -150,10 +164,9 @@
        return await Service.AGVIsNeedRelocationAsync(taskDto);
    }
    [HttpPost, AllowAnonymous, Route("SendERPTaskCompletion")]
    [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })]
    public Task<WebResponseContent> ERPAllocate(DtStockInfo stockInfo)
    [HttpPost, AllowAnonymous, Route("GetTaskData")]
    public async Task<WebResponseContent> GetTaskData()
    {
        return Service.ERPAllocate(stockInfo);
        return await Service.GetTaskData();
    }
}