Browse Source

Merge branch 'hotfix/bug_5322_feture_good_profit' into debug

xyxie 1 week ago
parent
commit
3668670d3b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      services/data/future_good/profit_chart_info.go

+ 2 - 2
services/data/future_good/profit_chart_info.go

@@ -152,8 +152,8 @@ func GetProfitChartEdbData(baseEdbInfo *data_manage.EdbInfo, edbInfoList []*data
 			specialFutureGoodEdbInfoMap[v.FutureGoodEdbInfoId] = make(map[int]*future_good.FutureGoodEdbInfo)
 		}
 		// 获取数据
-		for findDateTime, childFutureGoodEdbInfo := range childFutureGoodEdbInfoAllMap {
-			for date, childFutureGoodEdbInfo := range childFutureGoodEdbInfo {
+		for findDateTime, childFutureGoodEdbInfoMap := range childFutureGoodEdbInfoAllMap {
+			for date, childFutureGoodEdbInfo := range childFutureGoodEdbInfoMap {
 				nAllMap[findDateTime] = append(nAllMap[findDateTime], date)
 				dataList := make([]*data_manage.EdbDataList, 0)
 				if _, ok := futureGoodDataListMap[childFutureGoodEdbInfo.FutureGoodEdbInfoId]; !ok {