|
@@ -165,7 +165,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
from sys_user u
|
|
|
left join sys_user_role ur on u.user_id = ur.user_id
|
|
|
left join sys_role r on r.role_id = ur.role_id
|
|
|
- where u.del_flag = '0' and r.role_key in
|
|
|
+ where u.del_flag = '0' and u.status = '0' and r.role_key in
|
|
|
<foreach collection="list" item="item" open="(" separator="," close=")">
|
|
|
#{item}
|
|
|
</foreach>
|