同步时 历史同步数据更新

This commit is contained in:
wangw 2025-04-12 15:33:11 +08:00
parent 8f3f313a47
commit caf42d0b0c
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ public class ShopSyncServiceImpl implements ShopSyncService {
Map<Long, Long> unitMap = new HashMap<>(); Map<Long, Long> unitMap = new HashMap<>();
Map<Long, ShopProdUnit> unitEntityMap = new HashMap<>(); Map<Long, ShopProdUnit> unitEntityMap = new HashMap<>();
List<Long> pointShopUnits = new ArrayList<>(); List<Long> pointShopUnits = new ArrayList<>();
List<ShopProdUnit> pointUnits = unitService.queryChain().select(ShopProdUnit::getSyncId) List<ShopProdUnit> pointUnits = unitService.queryChain()
.eq(ShopProdUnit::getShopId, pointShopId) .eq(ShopProdUnit::getShopId, pointShopId)
.isNotNull(ShopProdUnit::getSyncId) .isNotNull(ShopProdUnit::getSyncId)
.list(); .list();