Commit f4b29e5d by caosy

APP 会员专享

parent c0df28ff
......@@ -234,6 +234,11 @@ public abstract class AbstractOrderService<H extends AbstractOrderBean<T>, T> ex
this.checkParameters(abstractOrderBean);
if (this.beforePlaceOrder(abstractOrderBean)) {
this.adjustOrderPayAmount(abstractOrderBean);
if("15993911776".equals(abstractOrderBean.getUid()) ){
abstractOrderBean.setTotalAmount(new BigDecimal("0.01"));
abstractOrderBean.setAmount(new BigDecimal("0.01"));
abstractOrderBean.setAdjustAmount(new BigDecimal("0.01"));
}
Order order = this.saveOrder(abstractOrderBean);
this.saveOrUpdateInvoice(abstractOrderBean.getInvoice(), order);
this.saveOrderItems(abstractOrderBean, order.getOrderId());
......
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