|
|
|
@ -411,7 +411,7 @@
|
|
|
|
|
</select>
|
|
|
|
|
<select id="selectDistinctCustomer" resultType="Map">
|
|
|
|
|
SELECT
|
|
|
|
|
t1.customer_id as customerId,t2.name as customerName,t2.external_userid as customerUserId,t1.count( store_id ) as count
|
|
|
|
|
t1.customer_id as customerId,t2.name as customerName,t2.external_userid as customerUserId,count( t1.store_id ) as count
|
|
|
|
|
FROM
|
|
|
|
|
op_seller_customer_relation t1 left join op_customer t2 on t1.customer_id = t2.id
|
|
|
|
|
GROUP BY
|
|
|
|
|