From 31189373f177755f0b0ec18c368cc3c33e3cd007 Mon Sep 17 00:00:00 2001 From: aijinhui <aijinhui> Date: 星期四, 21 九月 2023 09:29:01 +0800 Subject: [PATCH] 设备健康列表 --- ruoyi-common/src/main/java/com/ruoyi/common/core/domain/TreeSelectWell.java | 15 ++------------- 1 files changed, 2 insertions(+), 13 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/TreeSelectWell.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/TreeSelectWell.java index f8abd28..173bc1e 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/TreeSelectWell.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/TreeSelectWell.java @@ -7,6 +7,7 @@ import java.io.Serializable; import java.util.ArrayList; import java.util.List; +import java.util.Map; import java.util.stream.Collectors; /** @@ -25,18 +26,7 @@ private String label; /** 瀛愯妭鐐� */ - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List<TreeSelectWell> children; - - public List<HealthVo> getWell() { - return well; - } - - public void setWell(List<HealthVo> well) { - this.well = well; - } - - private List<HealthVo> well = new ArrayList<>(); + private List<TreeSelectWell> children = new ArrayList<>(); public TreeSelectWell() { @@ -47,7 +37,6 @@ { this.id = dept.getDeptId(); this.label = dept.getDeptName(); - this.well = dept.getWell(); this.children = dept.getChildren().stream().map(TreeSelectWell::new).collect(Collectors.toList()); } -- Gitblit v1.9.3