forked from github/dataease
Merge pull request #1297 from dataease/pr@dev@fix_field
fix(数据集): 编辑数据集可能会出现重复字段
This commit is contained in:
commit
c2a5081359
@ -980,6 +980,7 @@ public class DataSetTableService {
|
||||
datasetTableField.setTableId(datasetTable.getId());
|
||||
datasetTableField.setColumnIndex(i);
|
||||
}
|
||||
dataSetTableFieldsService.deleteByTableId(datasetTable.getId());
|
||||
dataSetTableFieldsService.batchEdit(fieldList);
|
||||
// custom 创建doris视图
|
||||
if (datasetTable.getMode() == 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user