|
|
@@ -1139,7 +1139,7 @@
|
|
|
|
|
|
|
|
|
<select id="listAdminBydepIdAndRoleType" resultType="com.goafanti.common.model.Admin">
|
|
|
- select a.id,a.name,a.email ,a.open_id openId
|
|
|
+ select a.id,a.name,a.email ,a.open_id openId,a.expense_open_id expenseOpenId
|
|
|
from admin a left join user_role b on a.id =b.uid left join `role` c on b.rid=c.id
|
|
|
where a.status='0'
|
|
|
and a.department_id= #{depId}
|
|
|
@@ -1192,7 +1192,7 @@
|
|
|
SELECT count(*) from admin where amb_id= #{ambId}
|
|
|
</select>
|
|
|
<select id="selectAdminByRoleType" parameterType="java.lang.String" resultType="com.goafanti.common.model.Admin">
|
|
|
- SELECT a.id,a.name ,a.mobile ,a.email,a.department_id departmentId,a.open_id openId
|
|
|
+ SELECT a.id,a.name ,a.mobile ,a.email,a.department_id departmentId,a.open_id openId,a.expense_open_id expenseOpenId
|
|
|
FROM admin a left join user_role b on a.id=b.uid
|
|
|
left join `role` c on b.rid =c.id
|
|
|
where a.status='0'
|