|
@@ -166,5 +166,13 @@ func ReplaceMultipleGraphConfigChartEdb(oldEdbInfo, newEdbInfo *EdbInfo) (replac
|
|
|
configIdStr = make([]string, 0)
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ // 替换跨品种标签绑定得到指标ID
|
|
|
+ sql := `UPDATE chart_tag_variety SET edb_info_id=?, modify_time=? WHERE edb_info_id=?`
|
|
|
+ _, err = to.Raw(sql, newEdbInfo.EdbInfoId, time.Now(), oldEdbInfo.EdbInfoId).Exec()
|
|
|
+ if err != nil {
|
|
|
+ errmsg = "更新指标id关联跨品种分析标签失败:Err:" + err.Error()
|
|
|
+ return
|
|
|
+ }
|
|
|
return
|
|
|
}
|