| | |
| | | } |
| | | |
| | | [HttpPost, Route("ReceiveTask"), AllowAnonymous] |
| | | public WebResponseContent ReceiveWMSTask([FromBody] List<WMSTaskDTO> taskDTOs) |
| | | public WebResponseContent ReceiveWMSTask([FromBody] List<Dt_Task> taskDTOs) |
| | | { |
| | | return Service.ReceiveWMSTask(taskDTOs); |
| | | } |
| | | |
| | | [HttpPost, Route("RequestWMSTask2"), AllowAnonymous] |
| | | public WebResponseContent RequestWMSTask2() |
| | | [HttpPost, Route("ReceiveWCSTask"), AllowAnonymous] |
| | | public WebResponseContent ReceiveWCSTask([FromBody] int tasknum) |
| | | { |
| | | return Service.RequestWMSTask2(); |
| | | return Service.ReceiveWCSTask(tasknum); |
| | | } |
| | | |
| | | [HttpPost, HttpGet, Route("UpdateTaskExceptionMessage")] |
| | |
| | | { |
| | | return Service.RollbackTaskStatusToLast(taskNum); |
| | | } |
| | | |
| | | } |
| | | } |