|
|
|
@ -52,8 +52,9 @@
|
|
|
|
|
|
|
|
|
|
<select id="listPaymentManagerByCus" resultType="java.lang.String">
|
|
|
|
|
<![CDATA[
|
|
|
|
|
SELECT DISTINCT c.kanga_openid
|
|
|
|
|
from cus_membership c, sys_managers s where c.payment_openid = s.wx_openid AND (s.role & 1 >0 or s.role & 10000000 >0)
|
|
|
|
|
SELECT DISTINCT scr.kanga_openid FROM sys_customer_relation scr, sys_managers sm
|
|
|
|
|
WHERE scr.wechat_openid = sm.wx_openid AND scr.kanga_openid IS NOT NULL
|
|
|
|
|
AND sm.role & 10000001 > 0
|
|
|
|
|
]]>
|
|
|
|
|
</select>
|
|
|
|
|
</mapper>
|