Merge pull request 'fix : 非管理员用户登录有权限错误' (#9) from clay into master
Reviewed-on: http://git.feashow.cn/clay/fateverse/pulls/9
This commit is contained in:
@@ -88,7 +88,7 @@
|
||||
left join sys_role r on r.role_id = rm.role_id
|
||||
left join sys_user_role ur on ur.role_id = r.role_id
|
||||
<where>
|
||||
<if test="userId != null">and ur.role_id = #{userId}</if>
|
||||
<if test="userId != null">and ur.user_id = #{userId}</if>
|
||||
<if test="menuName != null and menuName != ''">and m.menu_name like concat('%',#{menuName},'%')</if>
|
||||
<if test="state != null and state != ''">and m.state = #{state}</if>
|
||||
<if test="excludeId != null ">and m.menu_id != #{excludeId} and parent_id != #{excludeId}</if>
|
||||
|
||||
Reference in New Issue
Block a user