fix 修补消费时重算
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user