From 365824c140ac11e001767619963f0c77734a80ed Mon Sep 17 00:00:00 2001 From: wangw <1594593906@qq.com> Date: Fri, 11 Apr 2025 10:18:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=95=B0=E6=8D=AE=20?= =?UTF-8?q?=E5=8E=86=E5=8F=B2=E5=90=8C=E6=AD=A5=E5=AD=97=E6=AE=B5=20?= =?UTF-8?q?=E5=9B=9E=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/product/service/impl/ShopSyncServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cash-service/product-service/src/main/java/com/czg/service/product/service/impl/ShopSyncServiceImpl.java b/cash-service/product-service/src/main/java/com/czg/service/product/service/impl/ShopSyncServiceImpl.java index 9f36efbff..25edf1fff 100644 --- a/cash-service/product-service/src/main/java/com/czg/service/product/service/impl/ShopSyncServiceImpl.java +++ b/cash-service/product-service/src/main/java/com/czg/service/product/service/impl/ShopSyncServiceImpl.java @@ -192,7 +192,7 @@ public class ShopSyncServiceImpl implements ShopSyncService { public Map syncUnit(Long sourceShopId, Long pointShopId, List> mainMapList) { Map unitMap = new HashMap<>(); List pointShopUnits = new ArrayList<>(); - List pointUnits = unitService.queryChain().select(ShopProdUnit::getSyncId) + List pointUnits = unitService.queryChain() .eq(ShopProdUnit::getShopId, pointShopId) .isNotNull(ShopProdUnit::getSyncId) .list(); @@ -257,7 +257,7 @@ public class ShopSyncServiceImpl implements ShopSyncService { public Map syncSpec(Long sourceShopId, Long pointShopId, List> mainMapList) { Map specMap = new HashMap<>(); List pointShopSpecs = new ArrayList<>(); - List pointList = specService.queryChain().select(ShopProdSpec::getSyncId) + List pointList = specService.queryChain() .eq(ShopProdSpec::getShopId, pointShopId) .isNotNull(ShopProdSpec::getSyncId) .list(); @@ -322,7 +322,7 @@ public class ShopSyncServiceImpl implements ShopSyncService { public Map syncCategory(Long sourceShopId, Long pointShopId, List> mainMapList) { Map categoryMap = new HashMap<>(); List pointShopCateGory = new ArrayList<>(); - List pointList = categoryService.queryChain().select(ShopProdCategory::getSyncId) + List pointList = categoryService.queryChain() .eq(ShopProdCategory::getShopId, pointShopId) .isNotNull(ShopProdCategory::getSyncId) .list();