| | |
| | | if (task == null) {
|
| | | return R.error("任务不存在!!");
|
| | | }
|
| | | log.info("容器到达接收,任务号:{},当前状态:{},上报状态:{}",task.getTaskNo(),task.getTaskSts$(),TaskStsType.WCS_CONTAINER_RECEIVE.desc);
|
| | | log.info("容器到达接收,任务号:{},当前状态:{},上报状态:{}, 接收参数:{}",task.getTaskNo(),task.getTaskSts$(),TaskStsType.WCS_CONTAINER_RECEIVE.desc, JSONObject.toJSONString(arrivedParam));
|
| | |
|
| | | taskType = task.getTaskType() > 100 ? "outStock":"inStock";
|
| | |
|
| | |
| | | if (task.getTaskSts() == TaskStsType.WCS_EXECUTE_OUT_ARRIVED.id
|
| | | || task.getTaskSts() == TaskStsType.WCS_EXECUTE_OUT_TASK_DONE.id ) {
|
| | | // 到达拣选位,控制播种墙亮灯
|
| | | List<CacheSite> cacheSites = cacheSiteService.list(new LambdaQueryWrapper<CacheSite>().eq(CacheSite::getBarcode, task.getBarcode()));
|
| | | List<CacheSite> cacheSites = cacheSiteService.list(new LambdaQueryWrapper<CacheSite>()
|
| | | .eq(CacheSite::getSiteNo, arrivedParam.getSlotCode())
|
| | | .eq(CacheSite::getBarcode, task.getBarcode()));
|
| | | if(cacheSites.size() == 0) {
|
| | | log.error("条码:{},未找到播种墙亮灯",task.getBarcode());
|
| | | throw new CoolException("未找到播种墙");
|