作者 陈志颖

合并分支 'dev' 到 'test'

test:测试删除用户



查看合并请求 !44
@@ -86,7 +86,7 @@ func (repository *ColumnSettingRepository) Remove(columnSetting *domain.ColumnSe @@ -86,7 +86,7 @@ func (repository *ColumnSettingRepository) Remove(columnSetting *domain.ColumnSe
86 // Id: setting.Identify().(int64), 86 // Id: setting.Identify().(int64),
87 //}) 87 //})
88 } 88 }
89 - if _, err := tx.Model((*models.ColumnSetting)(nil)).Where("id IN (?)", ids).Delete(); err != nil { 89 + if _, err := tx.Model((*models.ColumnSetting)(nil)).Where("id IN (?)", pg.In(ids)).Delete(); err != nil {
90 return nil, columnSettings, err 90 return nil, columnSettings, err
91 } 91 }
92 } 92 }