@@ -145,7 +145,7 @@ public class AccountPaymentServiceImpl extends ServiceImpl<AccountPaymentMapper,
//修改账户-余额表的中余额
accountRemainder.setRemainder( accountRemainder.getRemainder().subtract(accountPaymentDto.getAmount()));
- accountRemainderService.updateById(accountRemainder);
+ accountRemainderService.add(accountRemainder);
}
@Override