From 3aa5114c4cfcc665ae402cd4b5739a8e335385f6 Mon Sep 17 00:00:00 2001 From: yinq Date: Thu, 21 Mar 2024 15:44:47 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E8=BF=87=E7=82=B9=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=B7=A5=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../report/service/impl/MaterialCompletionServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aucma-report/src/main/java/com/aucma/report/service/impl/MaterialCompletionServiceImpl.java b/aucma-report/src/main/java/com/aucma/report/service/impl/MaterialCompletionServiceImpl.java index 1ae85f0..92fe64d 100644 --- a/aucma-report/src/main/java/com/aucma/report/service/impl/MaterialCompletionServiceImpl.java +++ b/aucma-report/src/main/java/com/aucma/report/service/impl/MaterialCompletionServiceImpl.java @@ -107,7 +107,7 @@ public class MaterialCompletionServiceImpl implements IMaterialCompletionService } } materialCompletion.setMaterialBarcode(inspection.getBarCode()); - materialCompletion.setMaterialCode(inspection.getBarCode().substring(7, 18)); + materialCompletion.setMaterialCode(inspection.getBarCode().substring(7, 17)); materialCompletion.setMaterialName(inspection.getMaterialName()); materialCompletion.setStationName(inspection.getStationCode()); materialCompletion.setCompleteDate(inspection.getInspectorTime());