Merge branch '0920' into 0930
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -115,8 +115,9 @@ public class UfoStoragePriceFieldBuilder implements UfoIndexFieldBuilder { | @@ -115,8 +115,9 @@ 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 | + } else { | ||
119 | + validStoragePriceList.add(storagePrice); | ||
118 | } | 120 | } |
119 | - validStoragePriceList.add(storagePrice); | ||
120 | } | 121 | } |
121 | if (CollectionUtils.isEmpty(validStoragePriceList)) { | 122 | if (CollectionUtils.isEmpty(validStoragePriceList)) { |
122 | return null; | 123 | return null; |
@@ -124,6 +125,5 @@ public class UfoStoragePriceFieldBuilder implements UfoIndexFieldBuilder { | @@ -124,6 +125,5 @@ public class UfoStoragePriceFieldBuilder implements UfoIndexFieldBuilder { | ||
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 |
-
Please register or login to post a comment