作者 陈志颖

test:测试删除用户

... ... @@ -86,7 +86,7 @@ func (repository *ColumnSettingRepository) Remove(columnSetting *domain.ColumnSe
// Id: setting.Identify().(int64),
//})
}
if _, err := tx.Model((*models.ColumnSetting)(nil)).Where("id IN (?)", ids).Delete(); err != nil {
if _, err := tx.Model((*models.ColumnSetting)(nil)).Where("id IN (?)", pg.In(ids)).Delete(); err != nil {
return nil, columnSettings, err
}
}
... ...