作者 陈志颖

合并分支 'dev' 到 'test'

fix:go-pg版本兼容性问题修复



查看合并请求 !47
... ... @@ -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)
}
... ...