he2802 4 anni fa
parent
commit
301adb040a

+ 0 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/order/service/impl/OrderServiceImpl.java

@@ -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 ){
                 //使用优惠券