|
|
@@ -509,6 +509,11 @@ public class GroupRelationController {
|
|
|
}
|
|
|
}
|
|
|
Page<UserRecommendGoodsFrontView> page = groupRelationFrontService.getRecommendGoodsViews(isPayNf, filter_goods_id, start, limit);
|
|
|
+ page.getRecords().forEach(data -> {
|
|
|
+ List<GoodsDonSku> skuList = beanSearcher.searchAll(GoodsDonSku.class, MapUtils.builder().field(GoodsDonSku::getGoodsId, data.getGoodsId()).field(GoodsDonSku::getStatus, true).orderBy(GoodsDonSku::getPrice).asc().build());
|
|
|
+ data.setTwPrice(skuList.get(0).getTwPrice());
|
|
|
+ data.setHkPrice(skuList.get(0).getHkPrice());
|
|
|
+ });
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult(page);
|
|
|
}
|
|
|
}
|