修改权限查询问题
This commit is contained in:
@@ -11,7 +11,9 @@
|
|||||||
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">
|
||||||
and b.type=#{type}
|
<if test="type == 0">
|
||||||
|
and b.type = #{type}
|
||||||
|
</if>
|
||||||
</if>
|
</if>
|
||||||
order by menu_sort desc
|
order by menu_sort desc
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user