|
|
@ -204,7 +204,7 @@
|
|
|
|
<if test="openid_type==4">
|
|
|
|
<if test="openid_type==4">
|
|
|
|
LEFT JOIN sys_customer_relation r on r.globalpay_openid = o.customer_id
|
|
|
|
LEFT JOIN sys_customer_relation r on r.globalpay_openid = o.customer_id
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="openid_type==0 or openid_type==1">
|
|
|
|
<if test="openid_type!=4">
|
|
|
|
LEFT JOIN sys_customer_relation r on r.wechat_openid = o.customer_id
|
|
|
|
LEFT JOIN sys_customer_relation r on r.wechat_openid = o.customer_id
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<where>
|
|
|
|
<where>
|
|
|
|