|
|
|
|
519
|
LEFT JOIN ta_person c on a.recommend_person = c.person_id
|
519
|
LEFT JOIN ta_person c on a.recommend_person = c.person_id
|
520
|
<where>
|
520
|
<where>
|
521
|
a.status > 0
|
521
|
a.status > 0
|
|
|
522
|
+ and a.verify_status = 1
|
522
|
and realty_consultant is not null
|
523
|
and realty_consultant is not null
|
523
|
<if test="orgId != null">
|
524
|
<if test="orgId != null">
|
524
|
and a.org_id = #{orgId}
|
525
|
and a.org_id = #{orgId}
|
|
|
|
|
568
|
LEFT JOIN ta_person c on a.recommend_person = c.person_id
|
569
|
LEFT JOIN ta_person c on a.recommend_person = c.person_id
|
569
|
<where>
|
570
|
<where>
|
570
|
a.status > 0
|
571
|
a.status > 0
|
|
|
572
|
+ and a.verify_status = 1
|
571
|
and realty_consultant is not null
|
573
|
and realty_consultant is not null
|
572
|
<if test="orgId != null">
|
574
|
<if test="orgId != null">
|
573
|
and a.org_id = #{orgId}
|
575
|
and a.org_id = #{orgId}
|