|
@@ -238,7 +238,7 @@ public class WeChatPartnerPaymentMininProgramStrategyImpl implements PaymentStra
|
|
|
log.info("[WeChatPartnerMinin] 换新商户单号 orderNo={}, payTradeNo={}", orderNo, newPayTradeNo);
|
|
log.info("[WeChatPartnerMinin] 换新商户单号 orderNo={}, payTradeNo={}", orderNo, newPayTradeNo);
|
|
|
storeOrder.setCouponId(couponId);
|
|
storeOrder.setCouponId(couponId);
|
|
|
storeOrder.setPayUserId(payerId);
|
|
storeOrder.setPayUserId(payerId);
|
|
|
- storeOrder.setServiceFee(new BigDecimal(serviceFee));
|
|
|
|
|
|
|
+// storeOrder.setServiceFee(new BigDecimal(serviceFee));
|
|
|
storeOrder.setDiscountAmount(new BigDecimal(discountAmount));
|
|
storeOrder.setDiscountAmount(new BigDecimal(discountAmount));
|
|
|
storeOrder.setPayAmount(new BigDecimal(payAmount));
|
|
storeOrder.setPayAmount(new BigDecimal(payAmount));
|
|
|
if (!storeOrderService.updateById(storeOrder)) {
|
|
if (!storeOrderService.updateById(storeOrder)) {
|
|
@@ -447,7 +447,7 @@ public class WeChatPartnerPaymentMininProgramStrategyImpl implements PaymentStra
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
try {
|
|
try {
|
|
|
- storeOrderService.resetTableAfterPayment(storeOrder.getTableId(), storeOrder.getMenuType());
|
|
|
|
|
|
|
+ storeOrderService.resetTableAfterPayment(storeOrder.getTableId());
|
|
|
log.info("[WeChatPartnerMinin] 支付后重置餐桌 tableId={}", storeOrder.getTableId());
|
|
log.info("[WeChatPartnerMinin] 支付后重置餐桌 tableId={}", storeOrder.getTableId());
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
log.error("[WeChatPartnerMinin] 重置餐桌失败 tableId={}", storeOrder.getTableId(), e);
|
|
log.error("[WeChatPartnerMinin] 重置餐桌失败 tableId={}", storeOrder.getTableId(), e);
|