xyxie 1 年之前
父節點
當前提交
83c51cafd7
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      services/data/chart_info.go

+ 2 - 0
services/data/chart_info.go

@@ -485,6 +485,7 @@ func GetSeasonEdbInfoDataListByXDate(dataList []*models.EdbDataList, latestDate
 		itemList := quarterMap[k]
 		quarterItem := new(models.QuarterData)
 		quarterItem.Years = v.ShowName
+		quarterItem.Year = v.ChartLegend
 		quarterItem.ChartLegend = v.ChartLegend
 		if le, ok := legendMap[v.ShowName]; ok {
 			quarterItem.ChartLegend = le
@@ -736,6 +737,7 @@ func GetSeasonEdbInfoDataListByXDateNong(result *models.EdbDataResult, latestDat
 		itemList := quarterMap[k]
 		quarterItem := new(models.QuarterData)
 		quarterItem.Years = v.ShowName
+		quarterItem.Year = v.ChartLegend
 		quarterItem.ChartLegend = v.ChartLegend
 		if le, ok := legendMap[v.ShowName]; ok {
 			quarterItem.ChartLegend = le