From 8dc28c815eb0acdb5af82c2667eec45efd0507c5 Mon Sep 17 00:00:00 2001 From: liding <756868258@qq.com> Date: 星期二, 18 三月 2025 09:34:46 +0800 Subject: [PATCH] 车间绑定调整 --- ruoyi-common/src/main/java/com/ruoyi/common/core/domain/TreeSelect.java | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/TreeSelect.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/TreeSelect.java index 949196f..33818ce 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/TreeSelect.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/TreeSelect.java @@ -27,6 +27,9 @@ /** 鏄惁鍙互閫夋嫨浠呯湅鎴�, 0:鍚�, 1:鏄� */ private Integer isRersonalButton; + /** 鏄惁纭鍙湅鎴�, 0:鍚�, 1:鏄� */ + private Integer isRersonal; + /** 鑺傜偣绂佺敤 */ private boolean disabled = false; @@ -51,7 +54,8 @@ { this.id = menu.getMenuId(); this.label = menu.getMenuName(); - this.isRersonalButton = menu.geIsRersonalButton(); + this.isRersonalButton = menu.getIsRersonalButton(); + this.isRersonal = menu.getIsRersonal(); this.children = menu.getChildren().stream().map(TreeSelect::new).collect(Collectors.toList()); } @@ -95,7 +99,7 @@ this.children = children; } - public Integer geIsRersonalButton() + public Integer getIsRersonalButton() { return isRersonalButton; } @@ -104,4 +108,14 @@ { this.isRersonalButton = isRersonalButton; } + + public Integer getIsRersonal() + { + return isRersonal; + } + + public void setIsRersonal(Integer isRersonalButton) + { + this.isRersonal = isRersonal; + } } -- Gitblit v1.9.3