|
|
|
@@ -1370,11 +1370,12 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService { |
|
|
|
setPayOrderNo(String.valueOf(payOrderId)); |
|
|
|
setIp(ipstr); |
|
|
|
setAuthCode(authCode); |
|
|
|
if (microOrder.getPayment() > wxCoupon.getPrice()) { |
|
|
|
setPayAmount(wxCoupon.getPrice()); |
|
|
|
} else { |
|
|
|
setPayAmount(microOrder.getPayment()); |
|
|
|
} |
|
|
|
setPayAmount(microOrder.getPayment() - wxCoupon.getPrice()); |
|
|
|
// if (microOrder.getPayment() > wxCoupon.getPrice()) { |
|
|
|
// setPayAmount(wxCoupon.getPrice()); |
|
|
|
// } else { |
|
|
|
// setPayAmount(microOrder.getPayment()); |
|
|
|
// } |
|
|
|
setPayVendor(payWay.getCode()); |
|
|
|
setPayOrderStatus(EnumPayStatus.PAY_STATUS_WAIT.getCode()); |
|
|
|
setShare(EnumPayShare.NO.getCode()); |
|
|
|
|