|
@@ -138,7 +138,7 @@
|
138
|
138
|
left join ta_building_dynamic tbd on t.target_id = tbd.dynamic_id
|
139
|
139
|
left join ta_person c on t.share_person_id = c.person_id
|
140
|
140
|
where
|
141
|
|
- t.share_person_id != t.person_id
|
|
141
|
+ t.share_person_id != t.person_id and t.share_person_id is not null and t.share_person_id != ''
|
142
|
142
|
<if test="orgId != null and orgId != ''">
|
143
|
143
|
and t.org_id = #{orgId}
|
144
|
144
|
</if>
|