| | |
| | | /// </summary> |
| | | /// <param name="saveModel">任务号</param> |
| | | /// <returns>成功或失败</returns> |
| | | [HttpGet, Route("CompleteTask"), AllowAnonymous] |
| | | [HttpGet, Route("CompleteTaskAsync"), AllowAnonymous] |
| | | public async Task<WebResponseContent> CompleteTaskAsync(int taskNum) |
| | | { |
| | | return await _taskService.CompleteAsync(taskNum); |
| | |
| | | return await Service.UpdateTaskStatus(input.TaskNum, input.TaskState); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 获取高温可出库库存 |
| | | /// </summary> |
| | | /// <param name="input">请求数据</param> |
| | | /// <returns></returns> |
| | | [HttpGet, AllowAnonymous, Route("StockCheckingAsync")] |
| | | public WebResponseContent StockCheckingAsync() |
| | | { |
| | | return Service.StockCheckingAsync(); |
| | | } |
| | | } |