Parcourir la source

删除预测指标引用

xyxie il y a 7 mois
Parent
commit
989789e69e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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)
 	}
 }