From b0f5ae2d1093d16c91e5d30e83d550cd95fd832e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=9D=BE?= <8605635+zhang3064194730@user.noreply.gitee.com> Date: Thu, 27 Nov 2025 18:08:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A5=E5=BA=93=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/product/service/impl/ConsStockFlowServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/cash-service/product-service/src/main/java/com/czg/service/product/service/impl/ConsStockFlowServiceImpl.java b/cash-service/product-service/src/main/java/com/czg/service/product/service/impl/ConsStockFlowServiceImpl.java index 271783bd7..ee7508674 100644 --- a/cash-service/product-service/src/main/java/com/czg/service/product/service/impl/ConsStockFlowServiceImpl.java +++ b/cash-service/product-service/src/main/java/com/czg/service/product/service/impl/ConsStockFlowServiceImpl.java @@ -99,6 +99,7 @@ ConsInfo consInfo; if (StrUtil.isBlank(entity.getConId())) { consInfo = consInfoMapper.selectOneByQuery(new QueryWrapper().like(ConsInfo::getConName, entity.getConName()) + .eq(ConsInfo::getConUnit, entity.getUnitName()) .eq(ConsInfo::getShopId, shopId).limit(1)); entity.setConId(consInfo == null ? null : consInfo.getId().toString()); consStockFlow.setConId(consInfo == null ? null : consInfo.getId());