正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -58,7 +58,7 @@ func (repository *LoginAccessRepository) Save(loginAccess *domain.LoginAccess) ( | @@ -58,7 +58,7 @@ func (repository *LoginAccessRepository) Save(loginAccess *domain.LoginAccess) ( | ||
58 | &loginAccess.CreatedTime, | 58 | &loginAccess.CreatedTime, |
59 | &loginAccess.UpdatedTime, | 59 | &loginAccess.UpdatedTime, |
60 | ), | 60 | ), |
61 | - fmt.Sprintf("INSERT INTO login_accesss (%s) VALUES (%s) RETURNING %s", insertFieldsSnippet, insertPlaceHoldersSnippet, returningFieldsSnippet), | 61 | + fmt.Sprintf("INSERT INTO login_access (%s) VALUES (%s) RETURNING %s", insertFieldsSnippet, insertPlaceHoldersSnippet, returningFieldsSnippet), |
62 | loginAccess.Account, | 62 | loginAccess.Account, |
63 | loginAccess.Platform, | 63 | loginAccess.Platform, |
64 | loginAccess.CompanyId, | 64 | loginAccess.CompanyId, |
@@ -86,7 +86,7 @@ func (repository *LoginAccessRepository) Save(loginAccess *domain.LoginAccess) ( | @@ -86,7 +86,7 @@ func (repository *LoginAccessRepository) Save(loginAccess *domain.LoginAccess) ( | ||
86 | &loginAccess.CreatedTime, | 86 | &loginAccess.CreatedTime, |
87 | &loginAccess.UpdatedTime, | 87 | &loginAccess.UpdatedTime, |
88 | ), | 88 | ), |
89 | - fmt.Sprintf("UPDATE login_accesss SET %s WHERE login_access_id=? RETURNING %s", updateFieldsSnippet, returningFieldsSnippet), | 89 | + fmt.Sprintf("UPDATE login_access SET %s WHERE login_access_id=? RETURNING %s", updateFieldsSnippet, returningFieldsSnippet), |
90 | loginAccess.Account, | 90 | loginAccess.Account, |
91 | loginAccess.Platform, | 91 | loginAccess.Platform, |
92 | loginAccess.CompanyId, | 92 | loginAccess.CompanyId, |
-
请 注册 或 登录 后发表评论