|
@@ -1092,6 +1092,7 @@ public class StudentPaymentOrderServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
}
|
|
|
// 已有订单,先关单
|
|
|
orderByOrderNo.setStatus(CLOSE);
|
|
|
+ orderByOrderNo.setMemo("关闭订单");
|
|
|
studentPaymentOrderService.update(orderByOrderNo);
|
|
|
if (orderByOrderNo.getBalancePaymentAmount() != null && orderByOrderNo.getBalancePaymentAmount().compareTo(BigDecimal.ZERO) > 0) {
|
|
|
sysUserCashAccountService.updateBalance(orderByOrderNo.getUserId(), orderByOrderNo.getBalancePaymentAmount(), PlatformCashAccountDetailTypeEnum.REFUNDS, "关闭订单");
|