|
|
@@ -762,12 +762,12 @@ public class StoreReservationServiceImpl extends ServiceImpl<StoreReservationMap
|
|
|
throw new RuntimeException("预约已过期,无法核销");
|
|
|
}
|
|
|
|
|
|
- if(order.getOrderCostType() == 1){
|
|
|
- //调用退款
|
|
|
- MerchantPaymentStrategy strategy = merchantPaymentStrategyFactory.getStrategy(order.getPaymentMethod());
|
|
|
- strategy.refund(order.getStoreId(), order.getOutTradeNo(), order.getDepositAmount().toString(), "已扫码到店商家退款", 3);
|
|
|
-
|
|
|
- }
|
|
|
+// if(order.getOrderCostType() == 1){
|
|
|
+// //调用退款
|
|
|
+// MerchantPaymentStrategy strategy = merchantPaymentStrategyFactory.getStrategy(order.getPaymentMethod());
|
|
|
+// strategy.refund(order.getStoreId(), order.getOutTradeNo(), order.getDepositAmount().toString(), "已扫码到店商家退款", 3);
|
|
|
+//
|
|
|
+// }
|
|
|
|
|
|
// 更新预约状态为已到店(status = 2)
|
|
|
reservation.setStatus(2); // 已到店
|