傅行帆 5 years ago
parent
commit
cf2c84e97b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/main/resources/mapper/TaUserMapper.xml

+ 1
- 1
src/main/resources/mapper/TaUserMapper.xml View File

67
             ta_user t
67
             ta_user t
68
             LEFT JOIN ta_person_building b ON t.user_id = b.user_id
68
             LEFT JOIN ta_person_building b ON t.user_id = b.user_id
69
         WHERE
69
         WHERE
70
-            t.org_id = #{taUser.orgId}
70
+            t.org_id = #{taUser.orgId} and t.is_admin != 1
71
             <if test="taUser.userName != null and taUser.userName != ''">
71
             <if test="taUser.userName != null and taUser.userName != ''">
72
                 and t.user_name like CONCAT('%', #{taUser.userName}, '%')
72
                 and t.user_name like CONCAT('%', #{taUser.userName}, '%')
73
             </if>
73
             </if>