|
@@ -2971,7 +2971,7 @@ func handleByDelEdbInfo(edbInfo *data_manage.EdbInfo) {
|
|
|
|
|
|
if edbInfo.EdbInfoType == utils.PREDICT_EDB_INFO_TYPE && edbInfo.EdbType == 1 {
|
|
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)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|