@@ -177,6 +177,7 @@
left join ta_building_dynamic tbd on t.be_share = tbd.dynamic_id
left join ta_person c on t.person_id = c.person_id
where 1=1
+ and t.tagert_type != 'consultant'
<if test="orgId != null and orgId != ''">
and c.org_id = #{orgId}
</if>