| | |
| | | /// <returns></returns> |
| | | [HttpPost, AllowAnonymous, Route("RequestOutboundTaskAsync")] |
| | | [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] |
| | | public async Task<WebResponseContent> RequestOutboundTaskAsync([FromBody] RequestTaskDto taskDto) |
| | | public async Task<Dt_Task> RequestOutboundTaskAsync([FromBody] RequestTaskDto taskDto) |
| | | { |
| | | return await Service.RequestOutboundTaskAsync(taskDto); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 空æç满çåºåºè¯·æ± |
| | | /// åºåºè³ç¼ååº |
| | | /// </summary> |
| | | /// <param name="request">è¯·æ±æ°æ®</param> |
| | | /// <returns></returns> |
| | | [HttpPost, AllowAnonymous, Route("OtherOutBoundTaskAsync")] |
| | | [HttpPost, AllowAnonymous, Route("OutBoundTaskAsync")] |
| | | [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 2 })] |
| | | public Task<WebResponseContent> OtherOutBoundTaskAsync(string palletCode) |
| | | public Task<WebResponseContent> OutBoundTaskAsync(string palletCode) |
| | | { |
| | | return Service.OtherOutBoundTaskAsync(palletCode); |
| | | return Service.OutBoundTaskAsync(palletCode); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | |
| | | [HttpPost, AllowAnonymous, Route("SendERPTaskCompletion")] |
| | | [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] |
| | | public Task<WebResponseContent> SendERPTaskCompletion(string palletCode) |
| | | public Task<WebResponseContent> ERPAllocate(string palletCode) |
| | | { |
| | | return Service.SendERPTaskCompletion(palletCode); |
| | | return Service.ERPAllocate(palletCode); |
| | | } |
| | | } |