@@ -67,7 +67,7 @@
ta_user t
LEFT JOIN ta_person_building b ON t.user_id = b.user_id
WHERE
- t.org_id = #{taUser.orgId} and t.is_admin != 1
+ t.org_id = #{taUser.orgId} AND (t.is_admin != 1 or t.is_admin is null)
<if test="taUser.userName != null and taUser.userName != ''">
and t.user_name like CONCAT('%', #{taUser.userName}, '%')
</if>