From 0b3cbc9c80c5544bfc0f9aeea8a89141dd5abe0d Mon Sep 17 00:00:00 2001
From: yaowanxin <3588231647@qq.com>
Date: 星期四, 08 一月 2026 18:49:27 +0800
Subject: [PATCH] 调整-查询采购台账列表接口,查询采购模板接口
---
src/main/java/com/ruoyi/framework/web/domain/TreeSelect.java | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/ruoyi/framework/web/domain/TreeSelect.java b/src/main/java/com/ruoyi/framework/web/domain/TreeSelect.java
index cf4e43c..af11ba2 100644
--- a/src/main/java/com/ruoyi/framework/web/domain/TreeSelect.java
+++ b/src/main/java/com/ruoyi/framework/web/domain/TreeSelect.java
@@ -24,6 +24,9 @@
/** 鑺傜偣鍚嶇О */
private String label;
+ /** 鑺傜偣ID */
+ private Long value;
+
/** 鑺傜偣绂佺敤 */
private boolean disabled = false;
@@ -39,6 +42,7 @@
public TreeSelect(SysDept dept)
{
this.id = dept.getDeptId();
+ this.value = dept.getDeptId();
this.label = dept.getDeptName();
this.disabled = StringUtils.equals(UserConstants.DEPT_DISABLE, dept.getStatus());
this.children = dept.getChildren().stream().map(TreeSelect::new).collect(Collectors.toList());
@@ -90,4 +94,12 @@
{
this.children = children;
}
+
+ public Long getValue() {
+ return value;
+ }
+
+ public void setValue(Long value) {
+ this.value = value;
+ }
}
--
Gitblit v1.9.3