作者 yangfu

用户修改

@@ -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 {