|
|
@ -200,6 +200,9 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
|
if(ObjectUtil.isEmpty(schBaseTask)){ |
|
|
|
throw new BadRequestException("任务不存在!taskId:"+taskId); |
|
|
|
} |
|
|
|
if (Integer.parseInt(schBaseTask.getTask_status()) >= Integer.parseInt(TaskStatus.FINISHED.getCode())) { |
|
|
|
throw new BadRequestException("任务已完成或已取消!"); |
|
|
|
} |
|
|
|
AbstractTask task = taskFactory.getTask(schBaseTask.getConfig_code()); |
|
|
|
// 执行创建任务
|
|
|
|
task.feedbackState(param,schBaseTask,result); |
|
|
|