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); }