From 16f5e8d67c29b726bf07e790da3214d72eb0e053 Mon Sep 17 00:00:00 2001 From: gtsxc <3272660260@qq.com> Date: 星期五, 28 二月 2025 08:26:23 +0800 Subject: [PATCH] #搜索空闲小车地图改为DFX,增加车辆有没有被任务绑定判断 --- zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/timer/TaskTimer.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/timer/TaskTimer.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/timer/TaskTimer.java index bb639ad..0012067 100644 --- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/timer/TaskTimer.java +++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/timer/TaskTimer.java @@ -75,6 +75,7 @@ // taskSts.add(TaskStsType.COMPLETE_CHARGE.sts); // taskSts.add(TaskStsType.COMPLETE_MOVE.sts); // taskSts.add(TaskStsType.COMPLETE_MANUAL.sts); + taskSts.add(TaskStsType.COMPLETE_LADEN_MOVE.sts); Dict reportWms = dictService.getOne(new LambdaQueryWrapper<Dict>().eq(Dict::getFlag, "reportWms")); @@ -98,8 +99,10 @@ } String wmsUrl = dict.getValue(); - if(task.getTaskSts().equals(TaskStsType.COMPLETE_INBOUND.sts) || task.getTaskSts().equals(TaskStsType.COMPLETE_OUTBOUND.sts)){ - boolean httpRequest = doHttpRequest(task, wmsUrl, "/open/asrs//wrkMast/finish/v1"); + if(task.getTaskSts().equals(TaskStsType.COMPLETE_INBOUND.sts) + || task.getTaskSts().equals(TaskStsType.COMPLETE_OUTBOUND.sts) + || task.getTaskSts().equals(TaskStsType.COMPLETE_LADEN_MOVE.sts)){ + boolean httpRequest = doHttpRequest(task, wmsUrl, "/open/asrs/wrkMast/finish/v1"); if (!httpRequest) { continue; } -- Gitblit v1.9.1