Signed-off-by: anderx <312518615@qq.com>
@@ -667,7 +667,7 @@
left join user_role e on a.id=e.uid
left join `role` f on e.rid=f.id
where f.role_name in ('营销员','营销经理')
- and a.status='正常'
+ and a.status='正常' and a.type=1
<if test="depName !=null">
and d.name= #{depName}
</if>