...
|
...
|
@@ -50,6 +50,7 @@ func (repository *UsersRepository) FindOne(queryOptions map[string]interface{}) |
|
|
UsersModel := new(models.Users)
|
|
|
query := NewQuery(tx.Model(UsersModel), queryOptions)
|
|
|
query.SetWhere("id = ?", "id")
|
|
|
query.SetWhere("open_id = ?", "openId")
|
|
|
query.SetWhere("status = ?", "status")
|
|
|
query.SetWhere("phone = ?", "phone")
|
|
|
query.SetWhere("company_id = ?", "companyId")
|
...
|
...
|
|