Authored by wangnan9279

预售库存判断是否为有效的时候不考虑比价上限 fix

... ... @@ -115,8 +115,9 @@ public class UfoStoragePriceFieldBuilder implements UfoIndexFieldBuilder {
if (storagePrice.getPrice().compareTo(suggestHighPrice) <= 0) {
validStoragePriceList.add(storagePrice);
}
} else {
validStoragePriceList.add(storagePrice);
}
validStoragePriceList.add(storagePrice);
}
if (CollectionUtils.isEmpty(validStoragePriceList)) {
return null;
... ... @@ -124,6 +125,5 @@ public class UfoStoragePriceFieldBuilder implements UfoIndexFieldBuilder {
return validStoragePriceList.stream().sorted(Comparator.comparing(StoragePrice::getPrice)).collect(Collectors.toList());
}
}
... ...