|
@ -200,6 +200,9 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
if(ObjectUtil.isEmpty(schBaseTask)){ |
|
|
if(ObjectUtil.isEmpty(schBaseTask)){ |
|
|
throw new BadRequestException("任务不存在!taskId:"+taskId); |
|
|
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()); |
|
|
AbstractTask task = taskFactory.getTask(schBaseTask.getConfig_code()); |
|
|
// 执行创建任务
|
|
|
// 执行创建任务
|
|
|
task.feedbackState(param,schBaseTask,result); |
|
|
task.feedbackState(param,schBaseTask,result); |
|
|