提交 20ca335a authored 作者: junjie's avatar junjie

feat(数据集):自助数据集

上级 dd009692
...@@ -475,6 +475,9 @@ public class DataSetTableService { ...@@ -475,6 +475,9 @@ public class DataSetTableService {
List<DatasetTableField> fieldList = new ArrayList<>(); List<DatasetTableField> fieldList = new ArrayList<>();
list.forEach(ele -> { list.forEach(ele -> {
List<DatasetTableField> listByIds = dataSetTableFieldsService.getListByIds(ele.getCheckedFields()); List<DatasetTableField> listByIds = dataSetTableFieldsService.getListByIds(ele.getCheckedFields());
listByIds.forEach(f -> {
f.setDataeaseName(DorisTableUtils.dorisFieldName(ele.getTableId() + "_" + f.getDataeaseName()));
});
fieldList.addAll(listByIds); fieldList.addAll(listByIds);
}); });
for (int i = 0; i < fieldList.size(); i++) { for (int i = 0; i < fieldList.size(); i++) {
...@@ -482,7 +485,6 @@ public class DataSetTableService { ...@@ -482,7 +485,6 @@ public class DataSetTableService {
datasetTableField.setId(null); datasetTableField.setId(null);
datasetTableField.setTableId(datasetTable.getId()); datasetTableField.setTableId(datasetTable.getId());
datasetTableField.setColumnIndex(i); datasetTableField.setColumnIndex(i);
datasetTableField.setDataeaseName(DorisTableUtils.dorisFieldName(datasetTable.getId() + "_" + datasetTableField.getDataeaseName()));
} }
dataSetTableFieldsService.batchEdit(fieldList); dataSetTableFieldsService.batchEdit(fieldList);
// custom 创建doris视图 // custom 创建doris视图
......
...@@ -101,7 +101,7 @@ export default { ...@@ -101,7 +101,7 @@ export default {
const that = this const that = this
setTimeout(function() { setTimeout(function() {
const currentHeight = document.documentElement.clientHeight const currentHeight = document.documentElement.clientHeight
that.height = currentHeight - 56 - 15 - 26 - 25 - 43 that.height = currentHeight - 56 - 15 - 26 - 25 - 43 - 10
}, 10) }, 10)
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论