fix(数据集): 编辑数据集可能会出现重复字段

This commit is contained in:
junjie 2021-11-29 10:10:05 +08:00
parent 5a048e9e2e
commit c73fbfb91c

View File

@ -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) {