...
|
...
|
@@ -77,7 +77,7 @@ func (repository *ColumnSettingRepository) Remove(columnSetting *domain.ColumnSe |
|
|
func (repository *ColumnSettingRepository) FindOne(queryOptions map[string]interface{}) (*domain.ColumnSetting, error) {
|
|
|
tx := repository.transactionContext.PgTx
|
|
|
columnSettingModel := new(models.ColumnSetting)
|
|
|
query := tx.Model(&columnSettingModel)
|
|
|
query := tx.Model(columnSettingModel)
|
|
|
if columnSettingId, ok := queryOptions["column_settingId"]; ok {
|
|
|
query = query.Where("column_setting.id = ?", columnSettingId)
|
|
|
}
|
...
|
...
|
|