修改权限查询问题
This commit is contained in:
@@ -11,8 +11,10 @@
|
|||||||
left join sys_menu as c on c.menu_id = b.menu_id
|
left join sys_menu as c on c.menu_id = b.menu_id
|
||||||
where a.user_id = #{userId} and c.menu_id is not null
|
where a.user_id = #{userId} and c.menu_id is not null
|
||||||
<if test="type != null">
|
<if test="type != null">
|
||||||
|
<if test="type == 0">
|
||||||
and b.type = #{type}
|
and b.type = #{type}
|
||||||
</if>
|
</if>
|
||||||
|
</if>
|
||||||
order by menu_sort desc
|
order by menu_sort desc
|
||||||
</select>
|
</select>
|
||||||
<select id="selectByRoleId" resultType="com.czg.account.entity.SysMenu">
|
<select id="selectByRoleId" resultType="com.czg.account.entity.SysMenu">
|
||||||
|
|||||||
Reference in New Issue
Block a user