feat(frontend):数据集删除优化

This commit is contained in:
junjie 2021-06-10 15:57:58 +08:00
parent 1eeebf58e1
commit f891f3b7b6

View File

@ -148,9 +148,12 @@ public class DataSetTableService {
// 删除关联关系
dataSetTableUnionService.deleteUnionByTableId(id);
try {
deleteDorisTable(id, table);
// 抽取的数据集删除doris
if (table.getMode() == 1) {
deleteDorisTable(id, table);
}
} catch (Exception e) {
e.printStackTrace();
}
}