Commit df1ed890 authored by hujiebin's avatar hujiebin

fix

parent 4603a510
...@@ -43,7 +43,7 @@ func (diamondAccountDetail *DiamondAccountDetail) PersistentNoInTransactional() ...@@ -43,7 +43,7 @@ func (diamondAccountDetail *DiamondAccountDetail) PersistentNoInTransactional()
} }
var newDiamondAccount DiamondAccount var newDiamondAccount DiamondAccount
if err := diamondAccountDetail.DB().Table(DiamondAccountDetail{}.TableName()).First(&newDiamondAccount, diamondAccountDetail.diamondAccount.ID).Error; err != nil { if err := diamondAccountDetail.Db.First(&newDiamondAccount, diamondAccountDetail.diamondAccount.ID).Error; err != nil {
return myerr.WrapErr(err) return myerr.WrapErr(err)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment