作者 陈志颖

合并分支 'dev' 到 'test'

fix:栏目设置查询批量id类型修改



查看合并请求 !23
@@ -124,7 +124,7 @@ func (repository *ColumnSettingRepository) Find(queryOptions map[string]interfac @@ -124,7 +124,7 @@ func (repository *ColumnSettingRepository) Find(queryOptions map[string]interfac
124 columnSettings := make([]*domain.ColumnSetting, 0) 124 columnSettings := make([]*domain.ColumnSetting, 0)
125 query := tx.Model(&columnSettingModels) 125 query := tx.Model(&columnSettingModels)
126 if ids, ok := queryOptions["ids"]; ok { 126 if ids, ok := queryOptions["ids"]; ok {
127 - query = query.Where("column_setting.uid IN (?)", pg.In(ids.(int))) 127 + query = query.Where("column_setting.uid IN (?)", pg.In(ids.(int64)))
128 } 128 }
129 if uid, ok := queryOptions["uid"]; ok { 129 if uid, ok := queryOptions["uid"]; ok {
130 query = query.Where("column_setting.uid = ?", uid) 130 query = query.Where("column_setting.uid = ?", uid)