@@ -233,7 +233,6 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
if(!iOrderGoodsService.insertByAddBo(g)){
throw new CustomException("商品错误");
}
-
//查詢該券是否使用於此課程上
if(couponId!=null&&couponId>0 && g.getGoodsType()==1 && iCouponService.selectCount(g.getGoodsId(),couponId) > 0 ){
//使用优惠券