|
|
@@ -54,7 +54,7 @@
|
|
|
</when>
|
|
|
</choose>
|
|
|
) ct
|
|
|
- inner join corp_user_follow_relation cfr on cfr.id = ct.relation_id and wx_corp_id = #{wxCorpId}
|
|
|
+ inner join corp_user_follow_relation cfr on cfr.id = ct.relation_id
|
|
|
left join corp_follow cf on cf.userid = cfr.follow_id
|
|
|
left join corp_user_auth cua on cua.external_userid = cfr.corp_user_id
|
|
|
left join corp_user cu on cu.id = cua.corp_user_id and cu.unionid != ''
|