...
|
...
|
@@ -142,7 +142,7 @@ func (repo *StaffAssessRepository) Find(queryOptions map[string]interface{}) (in |
|
|
}
|
|
|
|
|
|
if v, ok := queryOptions["typesList"].([]string); ok && len(v) > 0 {
|
|
|
query.Where("types in(?)", pg.Array(v))
|
|
|
query.Where("types in(?)", pg.In(v))
|
|
|
}
|
|
|
if v, ok := queryOptions["status"].(string); ok && len(v) > 0 {
|
|
|
query.Where("status=?", v)
|
...
|
...
|
|