From c98d3cb07b73c6e6d75678b9966fa961f6f1a271 Mon Sep 17 00:00:00 2001 From: liuxy Date: Thu, 12 Dec 2024 15:22:16 +0800 Subject: [PATCH] =?UTF-8?q?rev=EF=BC=9A=E4=B8=8B=E5=8F=91=E4=BB=99?= =?UTF-8?q?=E5=B7=A5=E5=8F=82=E6=95=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/nl/acs/agv/server/impl/XianGongAgvServiceImpl.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/acs2/nladmin-system/src/main/java/org/nl/acs/agv/server/impl/XianGongAgvServiceImpl.java b/acs2/nladmin-system/src/main/java/org/nl/acs/agv/server/impl/XianGongAgvServiceImpl.java index 450bf61..60ee8b5 100644 --- a/acs2/nladmin-system/src/main/java/org/nl/acs/agv/server/impl/XianGongAgvServiceImpl.java +++ b/acs2/nladmin-system/src/main/java/org/nl/acs/agv/server/impl/XianGongAgvServiceImpl.java @@ -750,6 +750,11 @@ public class XianGongAgvServiceImpl implements XianGongAgvService { } block.put("location", next_point_code); block.put("binTask", "ForkUnload"); + + TaskDto task = taskService.findByCode(inst.getTask_code()); + if ("CPJSSX,BZXXL".contains(inst.getNext_device_code()) && task.getIs_vehicle().equals("0")) { + block.put("binTask", "ForkUnload1"); + } blocks.add(block); if ("true".equals(device2.getExtraValue().get("ignore_release_check"))) {