From aef600d98ab1acb5e5741bd2c16b63dee3bd3951 Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期四, 12 十二月 2024 09:11:33 +0800 Subject: [PATCH] #回库任务不生成历史工作明细,同时保留订单编号 --- src/main/java/com/zy/core/thread/SiemensDevpThread.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/core/thread/SiemensDevpThread.java b/src/main/java/com/zy/core/thread/SiemensDevpThread.java index eebeca5..96f6cde 100644 --- a/src/main/java/com/zy/core/thread/SiemensDevpThread.java +++ b/src/main/java/com/zy/core/thread/SiemensDevpThread.java @@ -233,7 +233,7 @@ staProtocol.setRequestIo(siemensS7Net.getByteTransform().TransInt16(result.Content, i*66 + 18)); staProtocol.setTrayIo(siemensS7Net.getByteTransform().TransInt16(result.Content, i*66 + 20)); staProtocol.setLocIo(siemensS7Net.getByteTransform().TransInt16(result.Content, i*66 + 22)); - staProtocol.setBarcode(siemensS7Net.getByteTransform().TransString(result.Content,i*66 + 24,16, "UTF-8")); + staProtocol.setBarcode(siemensS7Net.getByteTransform().TransString(result.Content,i*66 + 24,16, "UTF-8").trim()); // staProtocol.setWeightIo(siemensS7Net.getByteTransform().TransDouble(result.Content,i*66 + 40)); staProtocol.setMode(siemensS7Net.getByteTransform().TransInt16(result.Content, i*66 + 44)); -- Gitblit v1.9.1