Authored by wangnan9279

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

@@ -115,15 +115,15 @@ public class UfoStoragePriceFieldBuilder implements UfoIndexFieldBuilder { @@ -115,15 +115,15 @@ public class UfoStoragePriceFieldBuilder implements UfoIndexFieldBuilder {
115 if (storagePrice.getPrice().compareTo(suggestHighPrice) <= 0) { 115 if (storagePrice.getPrice().compareTo(suggestHighPrice) <= 0) {
116 validStoragePriceList.add(storagePrice); 116 validStoragePriceList.add(storagePrice);
117 } 117 }
118 - } 118 + } else {
119 validStoragePriceList.add(storagePrice); 119 validStoragePriceList.add(storagePrice);
120 } 120 }
  121 + }
121 if (CollectionUtils.isEmpty(validStoragePriceList)) { 122 if (CollectionUtils.isEmpty(validStoragePriceList)) {
122 return null; 123 return null;
123 } 124 }
124 return validStoragePriceList.stream().sorted(Comparator.comparing(StoragePrice::getPrice)).collect(Collectors.toList()); 125 return validStoragePriceList.stream().sorted(Comparator.comparing(StoragePrice::getPrice)).collect(Collectors.toList());
125 } 126 }
126 127
127 -  
128 } 128 }
129 129