Authored by mali

价格走势

@@ -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())