From 7d74bedd79f1612464c258f92a4dc1a9df535ffa Mon Sep 17 00:00:00 2001 From: hupeng Date: Mon, 5 Oct 2020 11:41:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=BC=E5=9B=A2=E4=BA=A7=E5=93=81=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E4=BB=B7=E6=A0=BC=E6=98=BE=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../activity/service/impl/YxStoreCombinationServiceImpl.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/yshop-mall/src/main/java/co/yixiang/modules/activity/service/impl/YxStoreCombinationServiceImpl.java b/yshop-mall/src/main/java/co/yixiang/modules/activity/service/impl/YxStoreCombinationServiceImpl.java index fde52efe..9bacd254 100644 --- a/yshop-mall/src/main/java/co/yixiang/modules/activity/service/impl/YxStoreCombinationServiceImpl.java +++ b/yshop-mall/src/main/java/co/yixiang/modules/activity/service/impl/YxStoreCombinationServiceImpl.java @@ -188,10 +188,7 @@ public class YxStoreCombinationServiceImpl extends BaseServiceImpl collect = yxStoreCombinationIPage.getRecords().stream().map(i -> { YxStoreCombinationQueryVo yxStoreCombinationQueryVo = new YxStoreCombinationQueryVo(); - YxStoreProduct product = storeProductService.getById(i.getProductId()); BeanUtils.copyProperties(i, yxStoreCombinationQueryVo); - yxStoreCombinationQueryVo.setSales(product.getSales()); - yxStoreCombinationQueryVo.setProductPrice(product.getPrice()); return yxStoreCombinationQueryVo; }).collect(Collectors.toList()); combinationQueryVo.setStoreCombinationQueryVos(collect);