浏览代码

fix:商品价格曲线,日期取值的问题

Roc 1 年之前
父节点
当前提交
88445ca88f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      services/data/future_good/chart_info.go

+ 1 - 1
services/data/future_good/chart_info.go

@@ -204,7 +204,7 @@ func GetChartEdbData(chartInfoId int, startDate, endDate string, edbInfoMapping,
 
 	edbList = append(edbList, futureGoodMappingList...)
 
-	xEdbIdValue, yDataList, err = BarChartData(edbList[0], futureGoodEdbInfoList, edbDataListMap, barChartInfoDateList, regionType, latestDate)
+	xEdbIdValue, yDataList, err = BarChartData(edbList[0], futureGoodEdbInfoList, edbDataListMap, barChartInfoDateList, regionType, edbInfoMapping.EndDate)
 
 	xDataList = []models.XData{
 		{