From e423d98d97b29386d427686783e2f70f870cfc11 Mon Sep 17 00:00:00 2001 From: zds <2388969634@qq.com> Date: Thu, 19 Sep 2024 16:36:15 +0800 Subject: [PATCH] =?UTF-8?q?opt:=E5=8F=A0=E7=9B=98=E4=BD=8D=E8=BD=BD?= =?UTF-8?q?=E5=85=B7=E6=95=B0=E9=87=8F=E7=94=B1=E6=B5=8B=E8=B7=9D=E4=BB=AA?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/org/nl/wms/util/PointUtils.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/util/PointUtils.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/util/PointUtils.java index 279b027..167d433 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/util/PointUtils.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/util/PointUtils.java @@ -41,7 +41,10 @@ public class PointUtils { point.setVehicle_type(""); point.setVehicle_code(""); point.setIng_task_code(""); - point.setVehicle_qty(0); + //叠盘机数量由acs同步,无需维护 + if(!point.getPoint_code().startsWith("DKT")){ + point.setVehicle_qty(0); + } point.setUpdate_time(DateUtil.now()); pointService.updateById(point); }