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);