Showing
1 changed file
with
0 additions
and
4 deletions
@@ -53,10 +53,6 @@ public class ProductPriceService implements ApplicationContextAware{ | @@ -53,10 +53,6 @@ public class ProductPriceService implements ApplicationContextAware{ | ||
53 | 53 | ||
54 | LOG.info("priceTrendModels result is {}", priceTrendModels.size()); | 54 | LOG.info("priceTrendModels result is {}", priceTrendModels.size()); |
55 | 55 | ||
56 | - if (priceTrendModels.size() <= 1) { | ||
57 | - return Lists.newArrayList(); | ||
58 | - } | ||
59 | - | ||
60 | List<PriceTrendResp> result = Lists.newArrayList(); | 56 | List<PriceTrendResp> result = Lists.newArrayList(); |
61 | priceTrendModels.stream().forEach(item -> | 57 | priceTrendModels.stream().forEach(item -> |
62 | result.add(new PriceTrendResp.Builder().setProductId(item.getProductId()) | 58 | result.add(new PriceTrendResp.Builder().setProductId(item.getProductId()) |
-
Please register or login to post a comment