| | |
| | | } |
| | | if (task.TaskState == TaskStatusEnum.RGV_Executing.ObjToInt()) |
| | | { |
| | | if (task.TaskType >= TaskTypeEnum.Outbound.ObjToInt() && task.TaskType <= TaskTypeEnum.Inbound.ObjToInt()) |
| | | { |
| | | _taskService.UpdateTask(task, TaskStatusEnum.RGV_Execute); |
| | | } |
| | | else if (task.TaskType >= TaskTypeEnum.Inbound.ObjToInt()) |
| | | if (task.TaskType >= TaskTypeEnum.Inbound.ObjToInt()) |
| | | { |
| | | _taskService.UpdateTask(task, TaskStatusEnum.RGV_NEW); |
| | | } |
| | | else if (task.TaskType >= TaskTypeEnum.Outbound.ObjToInt() && task.TaskType < TaskTypeEnum.Inbound.ObjToInt()) |
| | | { |
| | | _taskService.UpdateTask(task, TaskStatusEnum.RGV_Execute); |
| | | } |
| | | } |
| | | else |
| | | { |