mirror of https://gitee.com/stylefeng/roses
【7.0.2】更新菜单加一列
parent
9367bc4746
commit
5871d812c3
|
@ -149,6 +149,12 @@ public class SysMenu extends BaseEntity implements AbstractTreeNode {
|
|||
@TableField("antdv_link_url")
|
||||
private String antdvLinkUrl;
|
||||
|
||||
/**
|
||||
* 用于非菜单显示页面的重定向url设置
|
||||
*/
|
||||
@TableField("antdv_uid_url")
|
||||
private String antdvUidUrl;
|
||||
|
||||
/**
|
||||
* 是否删除:Y-被删除,N-未删除
|
||||
*/
|
||||
|
|
|
@ -93,7 +93,7 @@ public class AntdMenusFactory {
|
|||
antdvMenuItem.setPath(sysMenu.getAntdvRouter());
|
||||
antdvMenuItem.setComponent(sysMenu.getAntdvComponent());
|
||||
antdvMenuItem.setHide(YesOrNotEnum.N.getCode().equals(sysMenu.getVisible()));
|
||||
antdvMenuItem.setUid(null);
|
||||
antdvMenuItem.setUid(sysMenu.getAntdvUidUrl());
|
||||
if (ObjectUtil.isNotEmpty(sysMenu.getChildren())) {
|
||||
antdvMenuItem.setChildren(doModelTransfer(sysMenu.getChildren()));
|
||||
}
|
||||
|
|
|
@ -281,6 +281,7 @@ public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> impl
|
|||
SysMenu::getAntdvRouter,
|
||||
SysMenu::getAntdvComponent,
|
||||
SysMenu::getVisible,
|
||||
SysMenu::getAntdvUidUrl,
|
||||
SysMenu::getMenuId,
|
||||
SysMenu::getMenuParentId);
|
||||
wrapper.eq(SysMenu::getStatusFlag, StatusEnum.ENABLE.getCode());
|
||||
|
|
Loading…
Reference in New Issue