同步时 历史同步数据更新
This commit is contained in:
parent
8f3f313a47
commit
caf42d0b0c
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue