"SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.note AS note_2, d0_.description_list AS description_list_3, d0_.description_detail AS description_detail_4, d0_.search_word AS search_word_5, d0_.free_area AS free_area_6, d0_.create_date AS create_date_7, d0_.update_date AS update_date_8, d0_.free_description_about_quantity AS free_description_about_quantity_9, d0_.free_description_about_selling_price AS free_description_about_selling_price_10, d0_.free_description_of_payment_delivery AS free_description_of_payment_delivery_11, CASE WHEN d1_.recommend_rank IS NULL THEN 0 ELSE d1_.recommend_rank END AS sclr_12, d0_.discriminator_type AS discriminator_type_13, d0_.creator_id AS creator_id_14, d0_.product_status_id AS product_status_id_15 FROM dtb_product d0_ INNER JOIN dtb_product_category d2_ ON d0_.id = d2_.product_id AND d2_.discriminator_type IN ('productcategory') INNER JOIN dtb_category d3_ ON d2_.category_id = d3_.id AND d3_.discriminator_type IN ('category') INNER JOIN dtb_product_category d1_ ON d0_.id = d1_.product_id AND d1_.discriminator_type IN ('productcategory') WHERE (d0_.product_status_id = 1 AND d2_.category_id IN (?) AND d1_.category_id = ?) AND d0_.discriminator_type IN ('product') ORDER BY sclr_12 DESC, d0_.id DESC ◀SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.note AS note_2, d0_.description_list AS description_list_3, d0_.description_detail AS description_detail_4, d0_.s ▶"