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