left join plm_properties_model_detail b on a.site = b.site and a.function_type = b.function_type and b.code_no = #{codeNo} and a.item_no = b.properties_item_no
left join plm_properties_item c on a.function_type = c.itemType and a.item_no = c.itemNo and a.site = c.site
where quotation_no = #{quotationNo} and a.site = #{site} order by b.order_id
left join plm_properties_model_detail b on a.site = b.site and a.function_type = b.function_type and b.code_no = #{codeNo} and a.item_no = b.properties_item_no
left join plm_properties_item c on a.site = c.site and a.function_type = c.itemType and a.item_no = c.itemNo
where test_no = #{testNo} and a.site = #{site} order by b.order_id