|
@@ -146,9 +146,16 @@
|
|
|
</if>
|
|
|
<if test="roleList !=null and roleList!= ''">
|
|
|
and a.id in
|
|
|
- <foreach collection="list" item="item" index="index" open="(" separator="," close=")">
|
|
|
+ (
|
|
|
+ select user_id from sys_user_role where role_id in
|
|
|
+ (
|
|
|
+ select id from sys_role where name
|
|
|
+ in
|
|
|
+ <foreach collection="roleList" item="item" index="index" open="(" separator="," close=")">
|
|
|
#{item.name}
|
|
|
</foreach>
|
|
|
+ )
|
|
|
+ )
|
|
|
</if>
|
|
|
<!-- 如果不是超级管理员,则不显示超级管理员用户 -->
|
|
|
<if test="!currentUser.admin">
|