Commit 375cf1e2 by 徐高华

Merge branch 'developer' into 'master'

test

See merge request !347
parents 6b863995 c1aac7bf
...@@ -39,8 +39,12 @@ ...@@ -39,8 +39,12 @@
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
<if test="staffId == null">
and ( self_external_userid = #{selfExternalUserId} or external_userid = #{selfExternalUserId} ) and ( self_external_userid = #{selfExternalUserId} or external_userid = #{selfExternalUserId} )
</if>
<if test="staffId != null"> <if test="staffId != null">
and ( self_external_userid = #{selfExternalUserId})
and staff_id = #{staffId} and staff_id = #{staffId}
</if> </if>
order by create_time desc limit 1 order by create_time desc limit 1
......
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