|
@@ -159,7 +159,7 @@
|
|
|
<select id="queryOrderIntegrationData"
|
|
<select id="queryOrderIntegrationData"
|
|
|
resultType="com.poteviohealth.cgp.statistics.model.outdto.OrderIntegrationData">
|
|
resultType="com.poteviohealth.cgp.statistics.model.outdto.OrderIntegrationData">
|
|
|
SELECT o.order_id as orderId,o.city_id as cityId,o.country_id as countryId,o.street_id as streetId,o.visit_status as visitStatus
|
|
SELECT o.order_id as orderId,o.city_id as cityId,o.country_id as countryId,o.street_id as streetId,o.visit_status as visitStatus
|
|
|
- ,o.customer_id as customerId,o.finish_time as finishTime,od.product_category_id as productCategoryId,
|
|
|
|
|
|
|
+ ,o.customer_id as customerId,o.finish_time as finishTime,od.product_category_id as productCategoryId
|
|
|
FROM ${dbName}_order.o_order_${operatorId} o,${dbName}_order.o_order_detail_${operatorId} od
|
|
FROM ${dbName}_order.o_order_${operatorId} o,${dbName}_order.o_order_detail_${operatorId} od
|
|
|
where o.order_id = od.order_id
|
|
where o.order_id = od.order_id
|
|
|
and o.yn= 0
|
|
and o.yn= 0
|