mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +08:00
fix typo
This commit is contained in:
@@ -298,9 +298,9 @@ func (s *AccountService) CreateAccounts(c core.Context, mainAccount *models.Acco
|
|||||||
|
|
||||||
if err != nil || createdRows < 1 { // maybe another transaction has same time
|
if err != nil || createdRows < 1 { // maybe another transaction has same time
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Warnf(c, "[accounts.CreateAccounts] cannot create trasaction, because %s, regenerate transaction time value", err.Error())
|
log.Warnf(c, "[accounts.CreateAccounts] cannot create transaction, because %s, regenerate transaction time value", err.Error())
|
||||||
} else {
|
} else {
|
||||||
log.Warnf(c, "[accounts.CreateAccounts] cannot create trasaction, regenerate transaction time value")
|
log.Warnf(c, "[accounts.CreateAccounts] cannot create transaction, regenerate transaction time value")
|
||||||
}
|
}
|
||||||
|
|
||||||
err = userDataDb.RollbackToSavePoint(sess, insertTransactionSavePointName)
|
err = userDataDb.RollbackToSavePoint(sess, insertTransactionSavePointName)
|
||||||
|
|||||||
Reference in New Issue
Block a user