|
|
@@ -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>
|
|
|
|