From c9ac9dbab4a5c7ff093eb892ea410c5bc92a4b75 Mon Sep 17 00:00:00 2001 From: daiweihong <242520063@qq.com> Date: Thu, 22 Aug 2024 17:15:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=8C=E6=AD=A5=E5=87=BA?= =?UTF-8?q?=E5=BA=93=E6=95=B0=E6=8D=AE=E4=B8=BA=E6=9C=89=E5=B0=B1=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E6=B2=A1=E6=9C=89=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/shkj/wms/service/impl/BaseBarcodesOutServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shkj-wms/src/main/java/com/shkj/wms/service/impl/BaseBarcodesOutServiceImpl.java b/shkj-wms/src/main/java/com/shkj/wms/service/impl/BaseBarcodesOutServiceImpl.java index 4e50f3d..54a8d5c 100644 --- a/shkj-wms/src/main/java/com/shkj/wms/service/impl/BaseBarcodesOutServiceImpl.java +++ b/shkj-wms/src/main/java/com/shkj/wms/service/impl/BaseBarcodesOutServiceImpl.java @@ -179,7 +179,7 @@ public class BaseBarcodesOutServiceImpl extends ServiceImpl 0) { - if (this.saveBatch(barcodesOutList)) { + if (this.saveOrUpdateBatch(barcodesOutList)) { for (BaseBarcodesOut baseBarcodesOut : barcodesOutList) { redisTemplate.opsForValue().set(RedisConstant.redisVin + baseBarcodesOut.getVin(), baseBarcodesOut); }