From 9a45726e54ba076f73c6a7a40dfcacf0d1821d13 Mon Sep 17 00:00:00 2001 From: Parker Date: Fri, 9 Apr 2021 22:01:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E5=A2=9E=E5=8A=A0=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E6=80=BB=E6=98=AF=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/opsli/api/wrapper/system/menu/MenuModel.java | 7 +++++++ .../org/opsli/modulars/system/menu/entity/SysMenu.java | 3 +++ 2 files changed, 10 insertions(+) diff --git a/opsli-api/src/main/java/org/opsli/api/wrapper/system/menu/MenuModel.java b/opsli-api/src/main/java/org/opsli/api/wrapper/system/menu/MenuModel.java index 951254e..dd32839 100644 --- a/opsli-api/src/main/java/org/opsli/api/wrapper/system/menu/MenuModel.java +++ b/opsli-api/src/main/java/org/opsli/api/wrapper/system/menu/MenuModel.java @@ -109,4 +109,11 @@ public class MenuModel extends ApiWrapper { @ValidationArgs({ValiArgsType.IS_NOT_NULL}) private String hidden; + /** 是否总是显示 0为否 1为是 */ + @ApiModelProperty(value = "是否隐藏") + @ExcelProperty(value = "是否隐藏", order = 8) + @ExcelInfo(dictType = "no_yes") + @ValidationArgs({ValiArgsType.IS_NOT_NULL}) + private String alwaysShow; + } diff --git a/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/system/menu/entity/SysMenu.java b/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/system/menu/entity/SysMenu.java index 1007770..db7c925 100644 --- a/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/system/menu/entity/SysMenu.java +++ b/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/system/menu/entity/SysMenu.java @@ -68,6 +68,9 @@ public class SysMenu extends BaseEntity { /** 是否隐藏 0为否 1为是 */ private String hidden; + /** 是否总是显示 0为否 1为是 */ + private String alwaysShow; + // ======================================== /** 逻辑删除字段 */