Commit 871789f8 by chongli

取消下单使用券再赠送券的功能

parent ac53fbc6
...@@ -1106,7 +1106,7 @@ public abstract class AbstractOrderService<H extends AbstractOrderBean<T>, T> ex ...@@ -1106,7 +1106,7 @@ public abstract class AbstractOrderService<H extends AbstractOrderBean<T>, T> ex
throw new OrderException(-100, "您的抵用劵使用错误"); throw new OrderException(-100, "您的抵用劵使用错误");
} }
for(VoucherItemBean bean: beanlist){ for(VoucherItemBean bean: beanlist){
this.voucherService.voucherUsedSend(bean.getId(), order.getUid(), order.getOrderNo()+"", VoucherSourceEnum.RULE_VOUCHERUSED_PRESENT.getValue()); //this.voucherService.voucherUsedSend(bean.getId(), order.getUid(), order.getOrderNo()+"", VoucherSourceEnum.RULE_VOUCHERUSED_PRESENT.getValue());
} }
} }
} }
......
...@@ -280,7 +280,7 @@ public abstract class AbstractNotifyService extends CorePaymentService { ...@@ -280,7 +280,7 @@ public abstract class AbstractNotifyService extends CorePaymentService {
order.getVoucherIDList()); order.getVoucherIDList());
if(order.getVoucherIDList()!=null&&!"".equals(order.getVoucherIDList())){ if(order.getVoucherIDList()!=null&&!"".equals(order.getVoucherIDList())){
for(String usedVoucherId: order.getVoucherIDList().split(",")){ for(String usedVoucherId: order.getVoucherIDList().split(",")){
this.voucherService.voucherUsedSend(Integer.parseInt(usedVoucherId), order.getUid(), order.getOrderNo()+"", VoucherSourceEnum.RULE_VOUCHERUSED_PRESENT.getValue()); //this.voucherService.voucherUsedSend(Integer.parseInt(usedVoucherId), order.getUid(), order.getOrderNo()+"", VoucherSourceEnum.RULE_VOUCHERUSED_PRESENT.getValue());
} }
} }
......
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