...
|
...
|
@@ -119,7 +119,7 @@ func (repository *DictionaryRepository) Find(queryOptions map[string]interface{} |
|
|
query.SetOffsetAndLimit(20)
|
|
|
query.SetOrderDirect("dictionary_id", "DESC")
|
|
|
if v, ok := queryOptions["dictCodeIn"]; ok {
|
|
|
query.Where("dict_code IN (?)", pg.Array(v))
|
|
|
query.WhereIn("dict_code IN (?)", v)
|
|
|
}
|
|
|
if count, err := query.SelectAndCount(); err != nil {
|
|
|
return 0, dictionarys, err
|
...
|
...
|
|