积分商品价格计算在后续已经渲染,所以这个地方代码可以去掉
This commit is contained in:
parent
3a4d08980f
commit
083b90a04a
@ -123,13 +123,6 @@ public class PromotionGoodsServiceImpl extends ServiceImpl<PromotionGoodsMapper,
|
||||
//下一次更新时间
|
||||
cartSkuVO.setUpdatePromotionTime(date);
|
||||
}
|
||||
//skuvo写入需支付积分
|
||||
PointsGoods pointsGoods = pointsGoodsService.getPointsGoodsVOByMongo(cartSkuVO.getGoodsSku().getId());
|
||||
if (pointsGoods != null) {
|
||||
cartSkuVO.setPoint(pointsGoods.getPoints().intValue());
|
||||
}
|
||||
|
||||
|
||||
//分销商品
|
||||
DistributionGoods distributionGoods = distributionGoodsService.distributionGoodsVOBySkuId(cartSkuVO.getGoodsSku().getId());
|
||||
if (distributionGoods != null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user