|
@@ -3034,7 +3034,7 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
|
|
|
sysUserCashAccountService.updateBalance(order.getUserId(), order.getBalancePaymentAmount(), PlatformCashAccountDetailTypeEnum.REFUNDS, "网管课支付失败,退还余额");
|
|
|
}
|
|
|
if(order.getStatus().equals(DealStatusEnum.SUCCESS)){
|
|
|
- sysUserCashAccountService.updateBalance(order.getUserId(), order.getActualAmount(), PlatformCashAccountDetailTypeEnum.REFUNDS, "重复支付,退还余额");
|
|
|
+ sysUserCashAccountService.updateBalance(order.getUserId(), order.getExpectAmount(), PlatformCashAccountDetailTypeEnum.REFUNDS, "重复支付,退还余额");
|
|
|
order.setMemo("重复支付,进入余额");
|
|
|
}
|
|
|
studentPaymentOrderDao.update(order);
|
|
@@ -3104,7 +3104,7 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
|
|
|
order.setMemo("支付成功,在重新支付时,用户选择取消,金额进入账户");
|
|
|
studentPaymentOrderDao.update(order);
|
|
|
|
|
|
- sysUserCashAccountService.updateBalance(order.getUserId(), order.getActualAmount(), PlatformCashAccountDetailTypeEnum.REFUNDS, "支付成功,用户取消,退还余额");
|
|
|
+ sysUserCashAccountService.updateBalance(order.getUserId(), order.getExpectAmount(), PlatformCashAccountDetailTypeEnum.REFUNDS, "支付成功,用户取消,退还余额");
|
|
|
|
|
|
return;
|
|
|
}
|