|
@@ -387,6 +387,8 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
|
|
|
//优惠券
|
|
//优惠券
|
|
|
g.setGoodsPrice(g.getGoodsPrice().subtract(coupon.getPrice()));
|
|
g.setGoodsPrice(g.getGoodsPrice().subtract(coupon.getPrice()));
|
|
|
log.info("优惠金额:{}",g.getGoodsPrice());
|
|
log.info("优惠金额:{}",g.getGoodsPrice());
|
|
|
|
|
+ log.info("优惠金额券:{}",coupon.getPrice());
|
|
|
|
|
+
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
if(coupon.getCouponType()==1){
|
|
if(coupon.getCouponType()==1){
|