|
@@ -1092,8 +1092,8 @@ func EditChartInfo(req data_manage.EditChartInfoReq, sysUser *system.Admin) (cha
|
|
|
correlationChart.CalculateUnit = req.CorrelationChartInfo.CalculateUnit
|
|
|
correlationChart.StartDate = startDate
|
|
|
correlationChart.EndDate = endDate
|
|
|
- correlationChart.EdbInfoIdFirst = edbInfoIdArr[0]
|
|
|
- correlationChart.EdbInfoIdSecond = edbInfoIdArr[1]
|
|
|
+ correlationChart.EdbInfoIdFirst = req.CorrelationChartInfo.EdbInfoIdList[0].EdbInfoId
|
|
|
+ correlationChart.EdbInfoIdSecond = req.CorrelationChartInfo.EdbInfoIdList[1].EdbInfoId
|
|
|
|
|
|
// 滚动相关性会有日期等信息
|
|
|
if chartItem.Source == utils.CHART_SOURCE_ROLLING_CORRELATION {
|