mirror of
https://github.com/dataease/dataease.git
synced 2026-05-18 17:58:11 +08:00
feat(feat):数据集,视图分组树优化,去除场景
This commit is contained in:
@@ -86,6 +86,7 @@ public class ChartViewService {
|
||||
chartGroupRequest.setType("group");
|
||||
chartGroupRequest.setPid(chartViewRequest.getSceneId());
|
||||
chartGroupRequest.setUserId(String.valueOf(AuthUtils.getUser().getUserId()));
|
||||
chartGroupRequest.setSort("name asc,create_time desc");
|
||||
List<ChartGroupDTO> groups = extChartGroupMapper.search(chartGroupRequest);
|
||||
List<ChartViewDTO> group = groups.stream().map(ele -> {
|
||||
ChartViewDTO dto = new ChartViewDTO();
|
||||
|
||||
@@ -197,6 +197,7 @@ public class DataSetTableService {
|
||||
datasetGroup.setType("group");
|
||||
datasetGroup.setPid(dataSetTableRequest.getSceneId());
|
||||
datasetGroup.setUserId(String.valueOf(AuthUtils.getUser().getUserId()));
|
||||
datasetGroup.setSort("name asc,create_time desc");
|
||||
List<DataSetGroupDTO> groups = extDataSetGroupMapper.search(datasetGroup);
|
||||
List<DataSetTableDTO> group = groups.stream().map(ele -> {
|
||||
DataSetTableDTO dto = new DataSetTableDTO();
|
||||
|
||||
Reference in New Issue
Block a user