|
|
@@ -351,6 +351,13 @@ public class MerchantAlipayPaymentStrategyImpl 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.ALIPAY.getType());
|
|
|
record.setOutTradeNo(outTradeNo);
|