reformat: fix codestyle
This commit is contained in:
@@ -105,10 +105,18 @@ class ETLHandler
|
|||||||
'orders_count' => 'orders_count_total',
|
'orders_count' => 'orders_count_total',
|
||||||
'created_at' => 'registered_at',
|
'created_at' => 'registered_at',
|
||||||
new RawExpression(
|
new RawExpression(
|
||||||
'(SELECT MIN(date_added) FROM oc_order WHERE oc_order.customer_id = telecart_customers.oc_customer_id) AS first_order_date'
|
'(
|
||||||
|
SELECT MIN(date_added)
|
||||||
|
FROM oc_order
|
||||||
|
WHERE oc_order.customer_id = telecart_customers.oc_customer_id
|
||||||
|
) AS first_order_date'
|
||||||
),
|
),
|
||||||
new RawExpression(
|
new RawExpression(
|
||||||
'(SELECT MAX(date_added) FROM oc_order WHERE oc_order.customer_id = telecart_customers.oc_customer_id) AS last_order_date'
|
'(
|
||||||
|
SELECT MAX(date_added)
|
||||||
|
FROM oc_order
|
||||||
|
WHERE oc_order.customer_id = telecart_customers.oc_customer_id
|
||||||
|
) AS last_order_date'
|
||||||
),
|
),
|
||||||
new RawExpression(
|
new RawExpression(
|
||||||
"COALESCE((
|
"COALESCE((
|
||||||
|
|||||||
Reference in New Issue
Block a user