Commit 32a03a1e by 徐高华

Merge branch 'master-xgh-好办停用' into 'master'

好友表增加外部联系人id有效无效状态

See merge request !264
parents d16b8aa3 bfc1710d
......@@ -387,7 +387,7 @@
</foreach>
and a.status_flag = 1
group by a.staff_id, a.clerk_id) as scr on scr.staff_id = ecr.staff_id
where ecr.status_flag = 1
where ecr.status_flag = 1 AND ecr.`external_status` = 1
and ecr.enterprise_id = #{enterpriseId,jdbcType=VARCHAR}
and ecr.wx_enterprise_id=#{wxEnterpriseId}
and ecr.member_id in
......
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