Authored by wangnan9279

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

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