提交者
Gitee
!303 修改非管理员登录时,获取菜单报错sql
Merge pull request !303 from Gold_Fish/master
正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -61,13 +61,13 @@ | @@ -61,13 +61,13 @@ | ||
| 61 | left join sys_role ro on ur.role_id = ro.role_id | 61 | left join sys_role ro on ur.role_id = ro.role_id |
| 62 | where ur.user_id = #{params.userId} | 62 | where ur.user_id = #{params.userId} |
| 63 | <if test="menuName != null and menuName != ''"> | 63 | <if test="menuName != null and menuName != ''"> |
| 64 | - AND menu_name like concat('%', #{menuName}, '%') | 64 | + AND m.menu_name like concat('%', #{menuName}, '%') |
| 65 | </if> | 65 | </if> |
| 66 | <if test="visible != null and visible != ''"> | 66 | <if test="visible != null and visible != ''"> |
| 67 | - AND visible = #{visible} | 67 | + AND m.visible = #{visible} |
| 68 | </if> | 68 | </if> |
| 69 | <if test="status != null and status != ''"> | 69 | <if test="status != null and status != ''"> |
| 70 | - AND status = #{status} | 70 | + AND m.status = #{status} |
| 71 | </if> | 71 | </if> |
| 72 | order by m.parent_id, m.order_num | 72 | order by m.parent_id, m.order_num |
| 73 | </select> | 73 | </select> |
-
请 注册 或 登录 后发表评论