Explorar el Código

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

xyxie hace 8 meses
padre
commit
3471bc38bc
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      controllers/data_manage/range_analysis/chart_info.go

+ 4 - 0
controllers/data_manage/range_analysis/chart_info.go

@@ -127,6 +127,10 @@ func (this *RangeChartChartInfoController) Preview() {
 		}
 		dataResp.MultipleGraphConfigId = multipleGraphConfig.MultipleGraphConfigId
 	}
+	// 图表的指标来源
+	sourceNameList, sourceNameEnList := data.GetEdbSourceByEdbInfoIdList(edbList)
+	chartInfo.ChartSource = strings.Join(sourceNameList, ",")
+	chartInfo.ChartSourceEn = strings.Join(sourceNameEnList, ",")
 
 	resp := new(data_manage.ChartInfoDetailResp)
 	resp.ChartInfo = chartInfo