|
@@ -987,6 +987,11 @@ public class CartClubServiceImpl implements CartClubService {
|
|
|
if (null == shopPromotion) {
|
|
|
// 获取商品促销信息
|
|
|
promotions = baseMapper.getPromotionByProductId(cartItemVo.getProductId());
|
|
|
+ // 手动获取skuId优惠价
|
|
|
+ if (promotions != null && (promotions.getTouchPrice() == null || promotions.getTouchPrice() == 0d)) {
|
|
|
+ Double touchPrice = baseMapper.getTouchPriceBySku(cartItemVo.getSkuId(),promotions.getId());
|
|
|
+ promotions.setTouchPrice(touchPrice);
|
|
|
+ }
|
|
|
// 如果促销活动协销不可见,移除促销
|
|
|
if (promotions != null && promotions.getSeen() != null && promotions.getSeen() == 2 && finalUserIdentity1 == 1) {
|
|
|
promotions = null;
|