| | |
| | |
|
| | | /**
|
| | | * modifty:
|
| | | * original : fetch datasource of task type on WAVE_SEED
|
| | | * now: Fetch datasource of task type on WCS_EXECUTE_OUT_ARRIVED, After completing the task and for setting the task type equal to WAVE_SEED
|
| | | * original : fetch datasource of task type on WCS_EXECUTE_OUT_TASK_DONE
|
| | | * now: Fetch datasource of task type on WCS_EXECUTE_OUT_ARRIVED, After completing the task and for setting the task type equal to GENERATE_WAVE_SEED
|
| | | */
|
| | | @Scheduled(cron = "0/15 * * * * ? ")
|
| | | @Transactional(rollbackFor = Exception.class)
|
| | |
| | | if (!autoCreateWaveSeed.equals("true")) {
|
| | | return;
|
| | | }
|
| | | //查询状态为容器到达状态所有任务单据
|
| | | //查询状态为RCS任务完成所有任务单据
|
| | | // List<Task> taskList = taskService.list(new LambdaQueryWrapper<Task>().eq(Task::getTaskSts, TaskStsType.WAVE_SEED.id));
|
| | | List<Task> taskList = taskService.list(new LambdaQueryWrapper<Task>().eq(Task::getTaskSts, TaskStsType.WCS_EXECUTE_OUT_TASK_DONE.id));
|
| | | HashSet<String> sycMatnrs = new HashSet<>();
|
| | |
| | | anfme -= workQty;
|
| | |
|
| | | orderUtils.updateWorkQty(orderDetl.getId(), workQty, true);
|
| | |
|
| | | //
|
| | | //fixme 生成波次播种数据时,不自动添加站点绑定,站点绑定调整至出库绑定播种库位时更新
|
| | | // CacheSite cacheSite = cacheSiteService.getOne(new LambdaQueryWrapper<CacheSite>().eq(CacheSite::getOrderId, orderDetl.getOrderId()).eq(CacheSite::getHostId, hostId));
|
| | | // if (cacheSite == null) {
|