...
|
...
|
@@ -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
|
|
|
}
|
|
|
}
|
...
|
...
|
|