正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
@@ -165,6 +165,7 @@ func (repository *UserRepository) FindOne(queryOptions map[string]interface{}) ( | @@ -165,6 +165,7 @@ func (repository *UserRepository) FindOne(queryOptions map[string]interface{}) ( | ||
165 | query.SetWhereByQueryOption("user_id = ?", "userId") | 165 | query.SetWhereByQueryOption("user_id = ?", "userId") |
166 | query.SetWhereByQueryOption("company_id=?", "companyId") | 166 | query.SetWhereByQueryOption("company_id=?", "companyId") |
167 | query.SetWhereByQueryOption("organization_id=?", "organizationId") | 167 | query.SetWhereByQueryOption("organization_id=?", "organizationId") |
168 | + query.SetWhereByQueryOption("user_base_id=?", "userBaseId") | ||
168 | query.SetWhereByQueryOption("user_code = ?", "userCode") | 169 | query.SetWhereByQueryOption("user_code = ?", "userCode") |
169 | query.SetWhereByQueryOption("user_id != ?", "notEqualUserId") | 170 | query.SetWhereByQueryOption("user_id != ?", "notEqualUserId") |
170 | if err := query.First(); err != nil { | 171 | if err := query.First(); err != nil { |
-
请 注册 或 登录 后发表评论