...
|
...
|
@@ -124,7 +124,7 @@ func (repository *ColumnSettingRepository) Find(queryOptions map[string]interfac |
|
|
columnSettings := make([]*domain.ColumnSetting, 0)
|
|
|
query := tx.Model(&columnSettingModels)
|
|
|
if ids, ok := queryOptions["ids"]; ok {
|
|
|
query = query.Where("column_setting.uid IN (?)", pg.In(ids.(int64)))
|
|
|
query = query.Where("column_setting.uid IN (?)", pg.In(ids.([]int64)))
|
|
|
}
|
|
|
if uid, ok := queryOptions["uid"]; ok {
|
|
|
query = query.Where("column_setting.uid = ?", uid)
|
...
|
...
|
|