From 6ed95f5c68ea2780dc97792ced6c94a77324393e Mon Sep 17 00:00:00 2001
From: chenrui <1187576398@qq.com>
Date: 星期一, 24 二月 2025 19:51:21 +0800
Subject: [PATCH] 标准物质领用
---
ruoyi-common/src/main/java/com/ruoyi/common/core/domain/TreeSelect.java | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 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 ae25df2..e4785df 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
@@ -11,7 +11,7 @@
/**
* Treeselect鏍戠粨鏋勫疄浣撶被
- *
+ *
* @author ruoyi
*/
public class TreeSelect implements Serializable
@@ -23,6 +23,9 @@
/** 鑺傜偣鍚嶇О */
private String label;
+
+ /** 鏄惁鍙互閫夋嫨浠呯湅鎴�, 0:鍚�, 1:鏄� */
+ private Integer isRersonalButton;
/** 鑺傜偣绂佺敤 */
private boolean disabled = false;
@@ -48,6 +51,7 @@
{
this.id = menu.getMenuId();
this.label = menu.getMenuName();
+ this.isRersonalButton = menu.getIsRersonalButton();
this.children = menu.getChildren().stream().map(TreeSelect::new).collect(Collectors.toList());
}
@@ -90,4 +94,14 @@
{
this.children = children;
}
+
+ public Integer geIsRersonalButton()
+ {
+ return isRersonalButton;
+ }
+
+ public void setIsRersonalButton(Integer isRersonalButton)
+ {
+ this.isRersonalButton = isRersonalButton;
+ }
}
--
Gitblit v1.9.3