Browse Source

设置人员修改

anderx 3 years ago
parent
commit
802efc7f26
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/java/com/goafanti/common/mapper/AdminMapper.xml

+ 2 - 1
src/main/java/com/goafanti/common/mapper/AdminMapper.xml

@@ -1089,7 +1089,8 @@
   <select id="listAdminBydepIdAndRoleType" resultType="com.goafanti.common.model.Admin">
     select a.id,a.name,a.email  from admin a left join user_role b on a.id =b.uid
                                              left join `role` c on b.rid=c.id
-    where department_id= #{depId}
+    where a.status='0'
+      and a.department_id= #{depId}
       and c.role_type= #{roleType}
   </select>