0.61 ms (29.89%)
|
1 |
SELECT `order`.`id` AS `order.id`, `order`.`version_id` AS `order.versionId`, `order`.`auto_increment` AS `order.autoIncrement`, `order`.`order_number` AS `order.orderNumber`, `order`.`billing_address_id` AS `order.billingAddressId`, `order`.`billing_address_version_id` AS `order.billingAddressVersionId`, `order`.`currency_id` AS `order.currencyId`, `order`.`language_id` AS `order.languageId`, `order`.`sales_channel_id` AS `order.salesChannelId`, `order`.`order_date_time` AS `order.orderDateTime`, `order`.`order_date` AS `order.orderDate`, `order`.`price` AS `order.price`, `order`.`amount_total` AS `order.amountTotal`, `order`.`amount_net` AS `order.amountNet`, `order`.`position_price` AS `order.positionPrice`, `order`.`tax_status` AS `order.taxStatus`, `order`.`shipping_costs` AS `order.shippingCosts`, `order`.`shipping_total` AS `order.shippingTotal`, `order`.`currency_factor` AS `order.currencyFactor`, `order`.`deep_link_code` AS `order.deepLinkCode`, `order`.`affiliate_code` AS `order.affiliateCode`, `order`.`campaign_code` AS `order.campaignCode`, `order`.`customer_comment` AS `order.customerComment`, `order`.`source` AS `order.source`, `order`.`state_id` AS `order.stateId`, `order.stateMachineState`.`id` AS `order.stateMachineState.id`, `order.stateMachineState`.`technical_name` AS `order.stateMachineState.technicalName`, `order.stateMachineState`.`state_machine_id` AS `order.stateMachineState.stateMachineId`, `order.stateMachineState`.`created_at` AS `order.stateMachineState.createdAt`, `order.stateMachineState`.`updated_at` AS `order.stateMachineState.updatedAt`, `order.stateMachineState.translation.name`, COALESCE(`order.stateMachineState.translation.name`,`order.stateMachineState.translation.name`) AS `order.stateMachineState.name`, `order.stateMachineState.translation.customFields`, COALESCE(`order.stateMachineState.translation.customFields`,`order.stateMachineState.translation.customFields`) AS `order.stateMachineState.customFields`, `order.stateMachineState.translation.createdAt`, `order.stateMachineState.translation.updatedAt`, `order.stateMachineState.translation.stateMachineStateId`, `order.stateMachineState.translation.languageId`, `order`.`rule_ids` AS `order.ruleIds`, `order`.`custom_fields` AS `order.customFields`, `order`.`created_by_id` AS `order.createdById`, `order`.`updated_by_id` AS `order.updatedById`, `order.orderCustomer`.`id` AS `order.orderCustomer.id`, `order.orderCustomer`.`version_id` AS `order.orderCustomer.versionId`, `order.orderCustomer`.`customer_id` AS `order.orderCustomer.customerId`, `order.orderCustomer`.`order_id` AS `order.orderCustomer.orderId`, `order.orderCustomer`.`order_version_id` AS `order.orderCustomer.orderVersionId`, `order.orderCustomer`.`email` AS `order.orderCustomer.email`, `order.orderCustomer`.`salutation_id` AS `order.orderCustomer.salutationId`, `order.orderCustomer`.`first_name` AS `order.orderCustomer.firstName`, `order.orderCustomer`.`last_name` AS `order.orderCustomer.lastName`, `order.orderCustomer`.`company` AS `order.orderCustomer.company`, `order.orderCustomer`.`title` AS `order.orderCustomer.title`, `order.orderCustomer`.`vat_ids` AS `order.orderCustomer.vatIds`, `order.orderCustomer`.`customer_number` AS `order.orderCustomer.customerNumber`, `order.orderCustomer`.`custom_fields` AS `order.orderCustomer.customFields`, `order.orderCustomer`.`remote_address` AS `order.orderCustomer.remoteAddress`, `order.orderCustomer`.`created_at` AS `order.orderCustomer.createdAt`, `order.orderCustomer`.`updated_at` AS `order.orderCustomer.updatedAt`, `order`.`item_rounding` AS `order.itemRounding`, `order`.`total_rounding` AS `order.totalRounding`, `order`.`created_at` AS `order.createdAt`, `order`.`updated_at` AS `order.updatedAt` FROM `order` LEFT JOIN `state_machine_state` `order.stateMachineState` ON `order`.`state_id` = `order.stateMachineState`.`id` LEFT JOIN `order_customer` `order.orderCustomer` ON `order`.`id` = `order.orderCustomer`.`order_id` AND `order`.`version_id` = `order.orderCustomer`.`order_version_id` LEFT JOIN (SELECT `order.stateMachineState.translation`.state_machine_state_id, `order.stateMachineState.translation`.name AS `order.stateMachineState.translation.name`, `order.stateMachineState.translation`.custom_fields AS `order.stateMachineState.translation.customFields`, `order.stateMachineState.translation`.created_at AS `order.stateMachineState.translation.createdAt`, `order.stateMachineState.translation`.updated_at AS `order.stateMachineState.translation.updatedAt`, `order.stateMachineState.translation`.state_machine_state_id AS `order.stateMachineState.translation.stateMachineStateId`, `order.stateMachineState.translation`.language_id AS `order.stateMachineState.translation.languageId` FROM `state_machine_state_translation` `order.stateMachineState.translation` WHERE `order.stateMachineState.translation`.language_id = ?) `order.stateMachineState.state_machine_state_translation` ON `order.stateMachineState.state_machine_state_translation`.`state_machine_state_id` = `order.stateMachineState`.`id` WHERE (`order`.`version_id` = ?) AND ((`order`.`state_id` = ?))
Parameters: [
b"/»_ââšMpªXTÎ|ãâ\v"
b"\x0F©\x1CãéjK¾KÙÎu,4%"
b"M&LðÚQOl¨.ÆÊgôum"
]
SELECT
`order`.`id` AS `order.id`,
`order`.`version_id` AS `order.versionId`,
`order`.`auto_increment` AS `order.autoIncrement`,
`order`.`order_number` AS `order.orderNumber`,
`order`.`billing_address_id` AS `order.billingAddressId`,
`order`.`billing_address_version_id` AS `order.billingAddressVersionId`,
`order`.`currency_id` AS `order.currencyId`,
`order`.`language_id` AS `order.languageId`,
`order`.`sales_channel_id` AS `order.salesChannelId`,
`order`.`order_date_time` AS `order.orderDateTime`,
`order`.`order_date` AS `order.orderDate`,
`order`.`price` AS `order.price`,
`order`.`amount_total` AS `order.amountTotal`,
`order`.`amount_net` AS `order.amountNet`,
`order`.`position_price` AS `order.positionPrice`,
`order`.`tax_status` AS `order.taxStatus`,
`order`.`shipping_costs` AS `order.shippingCosts`,
`order`.`shipping_total` AS `order.shippingTotal`,
`order`.`currency_factor` AS `order.currencyFactor`,
`order`.`deep_link_code` AS `order.deepLinkCode`,
`order`.`affiliate_code` AS `order.affiliateCode`,
`order`.`campaign_code` AS `order.campaignCode`,
`order`.`customer_comment` AS `order.customerComment`,
`order`.`source` AS `order.source`,
`order`.`state_id` AS `order.stateId`,
`order.stateMachineState`.`id` AS `order.stateMachineState.id`,
`order.stateMachineState`.`technical_name` AS `order.stateMachineState.technicalName`,
`order.stateMachineState`.`state_machine_id` AS `order.stateMachineState.stateMachineId`,
`order.stateMachineState`.`created_at` AS `order.stateMachineState.createdAt`,
`order.stateMachineState`.`updated_at` AS `order.stateMachineState.updatedAt`,
`order.stateMachineState.translation.name`,
COALESCE(
`order.stateMachineState.translation.name`,
`order.stateMachineState.translation.name`
) AS `order.stateMachineState.name`,
`order.stateMachineState.translation.customFields`,
COALESCE(
`order.stateMachineState.translation.customFields`,
`order.stateMachineState.translation.customFields`
) AS `order.stateMachineState.customFields`,
`order.stateMachineState.translation.createdAt`,
`order.stateMachineState.translation.updatedAt`,
`order.stateMachineState.translation.stateMachineStateId`,
`order.stateMachineState.translation.languageId`,
`order`.`rule_ids` AS `order.ruleIds`,
`order`.`custom_fields` AS `order.customFields`,
`order`.`created_by_id` AS `order.createdById`,
`order`.`updated_by_id` AS `order.updatedById`,
`order.orderCustomer`.`id` AS `order.orderCustomer.id`,
`order.orderCustomer`.`version_id` AS `order.orderCustomer.versionId`,
`order.orderCustomer`.`customer_id` AS `order.orderCustomer.customerId`,
`order.orderCustomer`.`order_id` AS `order.orderCustomer.orderId`,
`order.orderCustomer`.`order_version_id` AS `order.orderCustomer.orderVersionId`,
`order.orderCustomer`.`email` AS `order.orderCustomer.email`,
`order.orderCustomer`.`salutation_id` AS `order.orderCustomer.salutationId`,
`order.orderCustomer`.`first_name` AS `order.orderCustomer.firstName`,
`order.orderCustomer`.`last_name` AS `order.orderCustomer.lastName`,
`order.orderCustomer`.`company` AS `order.orderCustomer.company`,
`order.orderCustomer`.`title` AS `order.orderCustomer.title`,
`order.orderCustomer`.`vat_ids` AS `order.orderCustomer.vatIds`,
`order.orderCustomer`.`customer_number` AS `order.orderCustomer.customerNumber`,
`order.orderCustomer`.`custom_fields` AS `order.orderCustomer.customFields`,
`order.orderCustomer`.`remote_address` AS `order.orderCustomer.remoteAddress`,
`order.orderCustomer`.`created_at` AS `order.orderCustomer.createdAt`,
`order.orderCustomer`.`updated_at` AS `order.orderCustomer.updatedAt`,
`order`.`item_rounding` AS `order.itemRounding`,
`order`.`total_rounding` AS `order.totalRounding`,
`order`.`created_at` AS `order.createdAt`,
`order`.`updated_at` AS `order.updatedAt`
FROM
`order`
LEFT JOIN `state_machine_state` `order.stateMachineState` ON `order`.`state_id` = `order.stateMachineState`.`id`
LEFT JOIN `order_customer` `order.orderCustomer` ON `order`.`id` = `order.orderCustomer`.`order_id`
AND `order`.`version_id` = `order.orderCustomer`.`order_version_id`
LEFT JOIN (
SELECT
`order.stateMachineState.translation`.state_machine_state_id,
`order.stateMachineState.translation`.name AS `order.stateMachineState.translation.name`,
`order.stateMachineState.translation`.custom_fields AS `order.stateMachineState.translation.customFields`,
`order.stateMachineState.translation`.created_at AS `order.stateMachineState.translation.createdAt`,
`order.stateMachineState.translation`.updated_at AS `order.stateMachineState.translation.updatedAt`,
`order.stateMachineState.translation`.state_machine_state_id AS `order.stateMachineState.translation.stateMachineStateId`,
`order.stateMachineState.translation`.language_id AS `order.stateMachineState.translation.languageId`
FROM
`state_machine_state_translation` `order.stateMachineState.translation`
WHERE
`order.stateMachineState.translation`.language_id = ?
) `order.stateMachineState.state_machine_state_translation` ON `order.stateMachineState.state_machine_state_translation`.`state_machine_state_id` = `order.stateMachineState`.`id`
WHERE
(`order`.`version_id` = ?)
AND (
(`order`.`state_id` = ?)
)
SELECT `order`.`id` AS `order.id`, `order`.`version_id` AS `order.versionId`, `order`.`auto_increment` AS `order.autoIncrement`, `order`.`order_number` AS `order.orderNumber`, `order`.`billing_address_id` AS `order.billingAddressId`, `order`.`billing_address_version_id` AS `order.billingAddressVersionId`, `order`.`currency_id` AS `order.currencyId`, `order`.`language_id` AS `order.languageId`, `order`.`sales_channel_id` AS `order.salesChannelId`, `order`.`order_date_time` AS `order.orderDateTime`, `order`.`order_date` AS `order.orderDate`, `order`.`price` AS `order.price`, `order`.`amount_total` AS `order.amountTotal`, `order`.`amount_net` AS `order.amountNet`, `order`.`position_price` AS `order.positionPrice`, `order`.`tax_status` AS `order.taxStatus`, `order`.`shipping_costs` AS `order.shippingCosts`, `order`.`shipping_total` AS `order.shippingTotal`, `order`.`currency_factor` AS `order.currencyFactor`, `order`.`deep_link_code` AS `order.deepLinkCode`, `order`.`affiliate_code` AS `order.affiliateCode`, `order`.`campaign_code` AS `order.campaignCode`, `order`.`customer_comment` AS `order.customerComment`, `order`.`source` AS `order.source`, `order`.`state_id` AS `order.stateId`, `order.stateMachineState`.`id` AS `order.stateMachineState.id`, `order.stateMachineState`.`technical_name` AS `order.stateMachineState.technicalName`, `order.stateMachineState`.`state_machine_id` AS `order.stateMachineState.stateMachineId`, `order.stateMachineState`.`created_at` AS `order.stateMachineState.createdAt`, `order.stateMachineState`.`updated_at` AS `order.stateMachineState.updatedAt`, `order.stateMachineState.translation.name`, COALESCE(`order.stateMachineState.translation.name`,`order.stateMachineState.translation.name`) AS `order.stateMachineState.name`, `order.stateMachineState.translation.customFields`, COALESCE(`order.stateMachineState.translation.customFields`,`order.stateMachineState.translation.customFields`) AS `order.stateMachineState.customFields`, `order.stateMachineState.translation.createdAt`, `order.stateMachineState.translation.updatedAt`, `order.stateMachineState.translation.stateMachineStateId`, `order.stateMachineState.translation.languageId`, `order`.`rule_ids` AS `order.ruleIds`, `order`.`custom_fields` AS `order.customFields`, `order`.`created_by_id` AS `order.createdById`, `order`.`updated_by_id` AS `order.updatedById`, `order.orderCustomer`.`id` AS `order.orderCustomer.id`, `order.orderCustomer`.`version_id` AS `order.orderCustomer.versionId`, `order.orderCustomer`.`customer_id` AS `order.orderCustomer.customerId`, `order.orderCustomer`.`order_id` AS `order.orderCustomer.orderId`, `order.orderCustomer`.`order_version_id` AS `order.orderCustomer.orderVersionId`, `order.orderCustomer`.`email` AS `order.orderCustomer.email`, `order.orderCustomer`.`salutation_id` AS `order.orderCustomer.salutationId`, `order.orderCustomer`.`first_name` AS `order.orderCustomer.firstName`, `order.orderCustomer`.`last_name` AS `order.orderCustomer.lastName`, `order.orderCustomer`.`company` AS `order.orderCustomer.company`, `order.orderCustomer`.`title` AS `order.orderCustomer.title`, `order.orderCustomer`.`vat_ids` AS `order.orderCustomer.vatIds`, `order.orderCustomer`.`customer_number` AS `order.orderCustomer.customerNumber`, `order.orderCustomer`.`custom_fields` AS `order.orderCustomer.customFields`, `order.orderCustomer`.`remote_address` AS `order.orderCustomer.remoteAddress`, `order.orderCustomer`.`created_at` AS `order.orderCustomer.createdAt`, `order.orderCustomer`.`updated_at` AS `order.orderCustomer.updatedAt`, `order`.`item_rounding` AS `order.itemRounding`, `order`.`total_rounding` AS `order.totalRounding`, `order`.`created_at` AS `order.createdAt`, `order`.`updated_at` AS `order.updatedAt` FROM `order` LEFT JOIN `state_machine_state` `order.stateMachineState` ON `order`.`state_id` = `order.stateMachineState`.`id` LEFT JOIN `order_customer` `order.orderCustomer` ON `order`.`id` = `order.orderCustomer`.`order_id` AND `order`.`version_id` = `order.orderCustomer`.`order_version_id` LEFT JOIN (SELECT `order.stateMachineState.translation`.state_machine_state_id, `order.stateMachineState.translation`.name AS `order.stateMachineState.translation.name`, `order.stateMachineState.translation`.custom_fields AS `order.stateMachineState.translation.customFields`, `order.stateMachineState.translation`.created_at AS `order.stateMachineState.translation.createdAt`, `order.stateMachineState.translation`.updated_at AS `order.stateMachineState.translation.updatedAt`, `order.stateMachineState.translation`.state_machine_state_id AS `order.stateMachineState.translation.stateMachineStateId`, `order.stateMachineState.translation`.language_id AS `order.stateMachineState.translation.languageId` FROM `state_machine_state_translation` `order.stateMachineState.translation` WHERE `order.stateMachineState.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `order.stateMachineState.state_machine_state_translation` ON `order.stateMachineState.state_machine_state_translation`.`state_machine_state_id` = `order.stateMachineState`.`id` WHERE (`order`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`order`.`state_id` = 0x4D264CF0DA514F6CA82EC6CA67F4756D));
|