|
|
@@ -391,6 +391,13 @@ public class MerchantWechatPaymentStrategyImpl implements MerchantPaymentStrateg
|
|
|
order.setRefundType(refundType);
|
|
|
userReservationOrderService.updateById(order);
|
|
|
|
|
|
+ //修改用户预约信息表状态
|
|
|
+ UserReservation reservation = userReservationService.getById(order.getReservationId());
|
|
|
+ if (reservation != null) {
|
|
|
+ reservation.setStatus(3);
|
|
|
+ userReservationService.updateById(reservation);
|
|
|
+ }
|
|
|
+
|
|
|
RefundRecord record = new RefundRecord();
|
|
|
record.setPayType(PaymentEnum.WECHAT_PAY.getType());
|
|
|
record.setOutTradeNo(outTradeNo);
|