From 5b22c555e2524c1f8eb58f65a7f757fde7090e58 Mon Sep 17 00:00:00 2001 From: "jhforever.wang@estsh.com" Date: Tue, 17 Dec 2024 16:03:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=A6=E6=B1=89=E6=B2=B9=E6=BC=86=E7=BA=BF?= =?UTF-8?q?=E6=89=B9=E9=87=8F=E6=89=93=E5=8D=B0=20=E8=A7=A3=E5=86=B3=20?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E5=8E=BB=E6=8E=89=E7=BC=96=E7=A0=81=E8=A7=84?= =?UTF-8?q?=E5=88=99=E9=87=8C=E9=9D=A2=E5=89=8D=E7=BC=80=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../serviceimpl/print/strategy/WuHanPaintCenterPrintStrategy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/i3plus-ext-mes-pcn-apiservice/src/main/java/cn/estsh/i3plus/ext/mes/pcn/apiservice/serviceimpl/print/strategy/WuHanPaintCenterPrintStrategy.java b/modules/i3plus-ext-mes-pcn-apiservice/src/main/java/cn/estsh/i3plus/ext/mes/pcn/apiservice/serviceimpl/print/strategy/WuHanPaintCenterPrintStrategy.java index 697a470..cf57237 100644 --- a/modules/i3plus-ext-mes-pcn-apiservice/src/main/java/cn/estsh/i3plus/ext/mes/pcn/apiservice/serviceimpl/print/strategy/WuHanPaintCenterPrintStrategy.java +++ b/modules/i3plus-ext-mes-pcn-apiservice/src/main/java/cn/estsh/i3plus/ext/mes/pcn/apiservice/serviceimpl/print/strategy/WuHanPaintCenterPrintStrategy.java @@ -73,7 +73,7 @@ public class WuHanPaintCenterPrintStrategy implements IPrintTemplateStrategyServ String qrCode = syncFuncService.syncSerialNo(genSerialNoModel, mesProduceSnPrintModel.getUserName(), organizeCode, 1).getResultList().get(0).toString(); if (StringUtils.isEmpty(qrCode)) MesPcnException.throwBusiException("根据编码规则[%s]生成条码失败!", numberRule.getRuleCode()); - if (!StringUtils.isEmpty(numberRule.getPrefix())) qrCode.replace(numberRule.getPrefix(), MesPcnExtConstWords.EMPTY); + if (!StringUtils.isEmpty(numberRule.getPrefix())) qrCode = qrCode.replace(numberRule.getPrefix(), MesPcnExtConstWords.EMPTY); String[] barCodeArr = qrCode.split(MesPcnExtConstWords.WELL_NO);