|
@@ -856,21 +856,20 @@ public class BusinessServiceImpl implements IBusinessService {
|
|
|
log.info("同列有阻挡=========={}", inStockByLocs);
|
|
|
continue;
|
|
|
}
|
|
|
-
|
|
|
- sendTask(wcsTask);
|
|
|
- wcsTask.setState(10L);
|
|
|
- wcsTaskService.updateWcsTask(wcsTask);
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- try {
|
|
|
- //任务下发判断
|
|
|
- businessService.taskDispatchStack(wcsTask);
|
|
|
- Thread.sleep(500);
|
|
|
- } catch (Exception e) {
|
|
|
- e.printStackTrace();
|
|
|
}
|
|
|
+ sendTask(wcsTask);
|
|
|
+ wcsTask.setState(10L);
|
|
|
+ wcsTaskService.updateWcsTask(wcsTask);
|
|
|
+ break;
|
|
|
}
|
|
|
+ try {
|
|
|
+ //任务下发判断
|
|
|
+ businessService.taskDispatchStack(wcsTask);
|
|
|
+ Thread.sleep(500);
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
}
|