fix 修补消费时重算

This commit is contained in:
2024-11-27 18:28:39 +08:00
parent 284437c6a6
commit 8c8eb5eb7e

View File

@@ -318,6 +318,8 @@ public class BalanceService : IBalanceService
await _dbContext.InsertAsync(newBalanceRecord); await _dbContext.InsertAsync(newBalanceRecord);
} }
await _balanceRepository.CalculateBalanceAsync(balanceInfo.UserCode);
await _dbContext.Client.Ado.CommitTranAsync(); await _dbContext.Client.Ado.CommitTranAsync();
} }
catch (Exception) catch (Exception)