Generated SQL: SELECT t0_.id AS id_0, t0_.tender_type AS tender_type_1, t0_.registration_number AS registration_number_2, t0_.tender_status AS tender_status_3, t0_.tender_announcement_date AS tender_announcement_date_4, t0_.bid_start_date AS bid_start_date_5, t0_.bid_end_date AS bid_end_date_6, t0_.tender_end_date AS tender_end_date_7, t0_.estimated_value AS estimated_value_8, t0_.preiscurant_estimated_value AS preiscurant_estimated_value_9, t0_.object_estimated_value AS object_estimated_value_10, t0_.include_vat AS include_vat_11, t0_.addition_info AS addition_info_12, t0_.units_to_supply AS units_to_supply_13, t0_.supply_period AS supply_period_14, t0_.offer_step AS offer_step_15, t0_.guarantee_amount AS guarantee_amount_16, t0_.guarantee_period AS guarantee_period_17, t0_.internal_id AS internal_id_18, t0_.agreemant_status AS agreemant_status_19, t0_.created AS created_20, t0_.updated AS updated_21, t0_.high_decrease_price AS high_decrease_price_22, t0_.procurement_registration AS procurement_registration_23, t0_.low_competition AS low_competition_24, t0_.cpv_average_deviation AS cpv_average_deviation_25, t0_.flaged AS flaged_26, t0_.newly_established_company AS newly_established_company_27, t0_.offshore_country AS offshore_country_28, t0_.experience_requirement AS experience_requirement_29, t0_.advance_payment AS advance_payment_30, t0_.uncompetitive_supplier AS uncompetitive_supplier_31, t0_.many_wins_in_one_organisation_tenders AS many_wins_in_one_organisation_tenders_32, t0_.low_price_decline AS low_price_decline_33, t0_.changed_price_exceeds_final AS changed_price_exceeds_final_34, t0_.loser_companies_price_less_than_changed AS loser_companies_price_less_than_changed_35, t0_.donator_company AS donator_company_36, t0_.flags_count AS flags_count_37, t0_.organization_id AS organization_id_38, t0_.supplier_id AS supplier_id_39, t0_.main_cpv_id AS main_cpv_id_40 FROM tender t0_ INNER JOIN organization o1_ ON t0_.organization_id = o1_.id LEFT JOIN organization o2_ ON t0_.supplier_id = o2_.id LEFT JOIN cpv c3_ ON t0_.main_cpv_id = c3_.id LEFT JOIN tenders_bidders t5_ ON t0_.id = t5_.tender_id LEFT JOIN bidder b4_ ON b4_.id = t5_.bidder_id LEFT JOIN organization o6_ ON b4_.organization_id = o6_.id WHERE t0_.tender_type NOT IN ('კონსოლიდირებული ტენდერი აუქციონის გარეშე(CON)', 'კონსოლიდირებული ტენდერი(CON)', 'კონსოლიდირებული ტენდერი') AND o6_.id = ? ORDER BY t0_.tender_announcement_date DESC

Parameters:
Doctrine\Common\Collections\ArrayCollection Object
(
    [elements:Doctrine\Common\Collections\ArrayCollection:private] => Array
        (
            [0] => Doctrine\ORM\Query\Parameter Object
                (
                    [name:Doctrine\ORM\Query\Parameter:private] => org_id
                    [value:Doctrine\ORM\Query\Parameter:private] => 166711
                    [type:Doctrine\ORM\Query\Parameter:private] => 2
                )

        )

)