From 38f4107cbe3cbb066f77365b16af96f5b7650bd8 Mon Sep 17 00:00:00 2001 From: liusuyi <1951119284@qq.com> Date: 星期五, 26 七月 2024 08:53:19 +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