Commit dc60e9a4 by 徐高华

查詢好友

parent 7c301ac2
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
from tab_haoban_member_unionid_related from tab_haoban_member_unionid_related
where wx_enterprise_id = #{wxEnterpriseId} where wx_enterprise_id = #{wxEnterpriseId}
and status_flag = 1 and status_flag = 1
and self_external_userid = #{selfExternalUserId} and ( self_external_userid = #{selfExternalUserId} or external_userid = #{selfExternalUserId} )
<if test="staffId != null"> <if test="staffId != null">
and staff_id = #{staffId} and staff_id = #{staffId}
</if> </if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment