!276 fix & improve

Merge pull request !276 from OceansDeep/pg
This commit is contained in:
OceansDeep 2023-04-06 02:30:29 +00:00 committed by Gitee
commit e91f0e7ee4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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)) {