|
@@ -55,7 +55,7 @@
|
55
|
55
|
ta_channel c
|
56
|
56
|
LEFT JOIN ta_channel_person cp ON c.channel_id = cp.channel_id and cp.`status` = 1
|
57
|
57
|
LEFT JOIN ta_person t on cp.person_id = t.person_id and t.person_type = 'estate agent'
|
58
|
|
- LEFT JOIN ta_recommend_customer rc ON t.person_id = rc.recommend_person AND rc.verify_status = 1 AND rc.`status` = 1
|
|
58
|
+ LEFT JOIN ta_recommend_customer rc ON t.person_id = rc.recommend_person AND rc.verify_status = 1
|
59
|
59
|
<where>
|
60
|
60
|
<if test="channelId != null and channelId != ''">
|
61
|
61
|
c.channel_id = #{channelId}
|