浏览代码

指标数据查询

xyxie 8 月之前
父节点
当前提交
3f3f824a7d
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      services/data/future_good/chart_info.go

+ 3 - 0
services/data/future_good/chart_info.go

@@ -457,6 +457,9 @@ func BarChartData(baseEdbInfoMapping *data_manage.ChartEdbInfoMapping, edbInfoMa
 
 	edbDataMap := make(map[int]map[string]float64)
 	for edbInfoId, edbDataList := range edbDataListMap {
+		if _, ok := edbInfoMappingMap[edbInfoId]; ok {
+			continue
+		}
 		edbDateData := make(map[string]float64)
 		for _, edbData := range edbDataList {
 			edbDateData[edbData.DataTime] = edbData.Value