@@ -860,6 +860,7 @@ and
where 1=1
AND b.deleted = 0
and b.is_lock = 0
+ and b.type=4
AND b.path LIKE concat(#{orgPath}, '%')
</select>
<select id="getOwnership" resultType="java.lang.Integer">