fix: 修复更新es商品索引促销信息时,批量更新分页起始页错误问题
This commit is contained in:
parent
bc670d263d
commit
675830045d
@ -608,7 +608,7 @@ public class EsGoodsIndexServiceImpl extends BaseElasticsearchService implements
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void executeUpdateEsGoodsIndexAll(BasePromotions promotion, String key) {
|
private void executeUpdateEsGoodsIndexAll(BasePromotions promotion, String key) {
|
||||||
for (int i = 1; ; i++) {
|
for (int i = 0; ; i++) {
|
||||||
List<String> skuIds;
|
List<String> skuIds;
|
||||||
//如果storeId不为空,则表示是店铺活动
|
//如果storeId不为空,则表示是店铺活动
|
||||||
if (promotion.getStoreId() != null && !promotion.getStoreId().equals(PromotionTools.PLATFORM_ID)) {
|
if (promotion.getStoreId() != null && !promotion.getStoreId().equals(PromotionTools.PLATFORM_ID)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user