Merge branch 'dev'

This commit is contained in:
wangliwen 2022-10-12 17:11:35 +08:00
commit 1362c2dcd3
3 changed files with 16 additions and 0 deletions

View File

@ -62,6 +62,9 @@ public class SysMenuDTO extends TreeNode<SysMenuDTO> implements Serializable {
@ApiModelProperty(value = "上级菜单名称")
private String parentName;
@ApiModelProperty(value = "站点标识")
private Integer site;
@Override
public Long getId() {
return id;
@ -145,4 +148,12 @@ public class SysMenuDTO extends TreeNode<SysMenuDTO> implements Serializable {
public void setParentName(String parentName) {
this.parentName = parentName;
}
public Integer getSite() {
return site;
}
public void setSite(Integer site) {
this.site = site;
}
}

View File

@ -62,5 +62,9 @@ public class SysMenuEntity extends BaseEntity {
*/
@TableField(exist = false)
private String parentName;
/**
* 站点标识
*/
private Integer site;
}

View File

@ -0,0 +1 @@
ALTER TABLE `sys_menu` ADD COLUMN `site` int NULL DEFAULT 0 COMMENT '站点标识';