From 1fed577920b72fb967ac28d2da6fb61d50731491 Mon Sep 17 00:00:00 2001 From: psh Date: Mon, 15 Jan 2024 16:46:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=AE=8C=E6=88=90=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E4=B8=8D=E5=BD=B1=E5=93=8Dndc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/nl/acs/auto/run/OneNDCSocketConnectionAutoRun.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/acs/nladmin-system/src/main/java/org/nl/acs/auto/run/OneNDCSocketConnectionAutoRun.java b/acs/nladmin-system/src/main/java/org/nl/acs/auto/run/OneNDCSocketConnectionAutoRun.java index 7caaf93..dfb6625 100644 --- a/acs/nladmin-system/src/main/java/org/nl/acs/auto/run/OneNDCSocketConnectionAutoRun.java +++ b/acs/nladmin-system/src/main/java/org/nl/acs/auto/run/OneNDCSocketConnectionAutoRun.java @@ -166,7 +166,11 @@ public class OneNDCSocketConnectionAutoRun extends AbstractAutoRunnable { //(无车id及状态) else if (phase == 0x0A) { if (!ObjectUtil.isEmpty(inst)) { - instructionService.finish(inst.getInstruction_id()); + try { + instructionService.finish(inst.getInstruction_id()); + }catch (Exception e){ + log.error("指令完成出现异常{}{}",e,e.getMessage()); + } } else { log.warn("指令号:{},未反馈wms任务完成,因为agv上报指令号查询指令为空!",inst.getInstruction_code()); }