浏览代码

Merge branch 'feature/eta1.9.7_interval_analysis' into debug

xyxie 7 月之前
父节点
当前提交
817a0bea0e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/data_manage/multiple_graph_config_edb_mapping.go

+ 1 - 1
models/data_manage/multiple_graph_config_edb_mapping.go

@@ -70,7 +70,7 @@ func AddMultipleGraphConfigEdbMappingList(items []*MultipleGraphConfigEdbMapping
 
 func DeleteMultipleGraphConfigEdbMappingByEdbIds(configId, source int, edbIds []int) (err error) {
 	o := orm.NewOrmUsingDB("data")
-	sql := `DELETE FROM multiple_graph_config_edb_mapping WHERE multiple_graph_config_id = ? AND source = ? AND edb_id IN (` + utils.GetOrmInReplace(len(edbIds)) + `) `
+	sql := `DELETE FROM multiple_graph_config_edb_mapping WHERE multiple_graph_config_id = ? AND source = ? AND edb_info_id IN (` + utils.GetOrmInReplace(len(edbIds)) + `) `
 	_, err = o.Raw(sql, configId, source, edbIds).Exec()
 	return
 }