> childList = child(idObj.toString(), appId, orgname);
item.put("childList", childList); // 添加新列 子集
- if (childList != null && !childList.isEmpty()) {
- listMap.add(item); // 仅保留有子节点的数据
- }
+// if (childList != null && !childList.isEmpty()) {
+// listMap.add(item); // 仅保留有子节点的数据
+// }
}
return listMap;
}
From 25e57b4e68239a4c6721720b2e98155a5afc4f32 Mon Sep 17 00:00:00 2001
From: root <13910913995@163.com>
Date: Wed, 21 May 2025 16:45:03 +0800
Subject: [PATCH 4/4] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=E6=95=B0?=
=?UTF-8?q?=E6=8D=AE=E4=BF=AE=E6=94=B9=E5=8A=9F=E8=83=BD=E3=80=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../auto/mapper/CoreDatasetTableMapper.java | 9 ++++-
.../dataset/manage/DatasetDataManage.java | 39 ++++++++++++-------
.../dataset/server/DatasetDataServer.java | 23 +++++------
core/core-frontend/auto-imports.d.ts | 3 +-
.../io/gisbi/auth/filter/TokenFilter.java | 6 +--
5 files changed, 48 insertions(+), 32 deletions(-)
diff --git a/core/core-backend/src/main/java/io/gisbi/dataset/dao/auto/mapper/CoreDatasetTableMapper.java b/core/core-backend/src/main/java/io/gisbi/dataset/dao/auto/mapper/CoreDatasetTableMapper.java
index 23dbc25..94497d5 100644
--- a/core/core-backend/src/main/java/io/gisbi/dataset/dao/auto/mapper/CoreDatasetTableMapper.java
+++ b/core/core-backend/src/main/java/io/gisbi/dataset/dao/auto/mapper/CoreDatasetTableMapper.java
@@ -1,8 +1,14 @@
package io.gisbi.dataset.dao.auto.mapper;
+import io.gisbi.application.system.domain.Role;
import io.gisbi.dataset.dao.auto.entity.CoreDatasetTable;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Select;
+
+import java.util.List;
+import java.util.Map;
/**
*
@@ -14,5 +20,6 @@ import org.apache.ibatis.annotations.Mapper;
*/
@Mapper
public interface CoreDatasetTableMapper extends BaseMapper {
-
+ @Select("select b.name group_name,a.table_name table_name,a.id table_id from core_dataset_table a join core_dataset_group b on (a.dataset_group_id=b.id) where b.app_id=#{appid} and a.type='db' order by a.name")
+ List