Commit cc534d89 by chongli

单定场使用多张券

parent 6b6c36de
...@@ -715,7 +715,7 @@ public abstract class AbstractOrderService<H extends AbstractOrderBean<T>, T> ex ...@@ -715,7 +715,7 @@ public abstract class AbstractOrderService<H extends AbstractOrderBean<T>, T> ex
throw new OrderException(-5, "抵用券订单金额计算有误"); throw new OrderException(-5, "抵用券订单金额计算有误");
} }
if (abstractOrderBean.getVoucherList()!=null && abstractOrderBean.getVoucherList().size()>1) { if (abstractOrderBean.getVoucherList()!=null && abstractOrderBean.getVoucherList().size()>1) {
throw new OrderException(-5, "只能使用一张抵用券"); //throw new OrderException(-5, "只能使用一张抵用券");
} }
// 发票支付方式选择积分 // 发票支付方式选择积分
if (abstractOrderBean.isHasInvoice() && abstractOrderBean.getInvoice().getPayType() == 2) { if (abstractOrderBean.isHasInvoice() && abstractOrderBean.getInvoice().getPayType() == 2) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment