Browse Source

删除预测指标引用

xyxie 7 months ago
parent
commit
989789e69e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/data/edb_info.go

+ 1 - 1
services/data/edb_info.go

@@ -2968,6 +2968,6 @@ func handleByDelEdbInfo(edbInfo *data_manage.EdbInfo) {
 
 	if edbInfo.EdbInfoType == utils.PREDICT_EDB_INFO_TYPE && edbInfo.EdbType == 1 {
 		// 删除图表中的指标引用
-		_ = data_manage.DeleteEdbRelationByObjectId(edbInfo.EdbInfoId, utils.EDB_RELATION_CHART)
+		_ = data_manage.DeleteEdbRelationByObjectId(edbInfo.EdbInfoId, utils.EDB_RELATION_PREDICT_EDB)
 	}
 }