feat(fix):自定义数据集字段顺序优化

This commit is contained in:
junjie 2021-06-15 18:26:01 +08:00
parent 1e03bd347a
commit 1c4d9fe371

View File

@ -567,7 +567,7 @@ public class DataSetTableService {
List<DataTableInfoCustomUnion> list = dataTableInfoDTO.getList();
List<DatasetTableField> fieldList = new ArrayList<>();
list.forEach(ele -> {
List<DatasetTableField> listByIds = dataSetTableFieldsService.getListByIds(ele.getCheckedFields());
List<DatasetTableField> listByIds = dataSetTableFieldsService.getListByIdsEach(ele.getCheckedFields());
listByIds.forEach(f -> {
f.setDataeaseName(DorisTableUtils.dorisFieldName(ele.getTableId() + "_" + f.getDataeaseName()));
});