Эх сурвалжийг харах

fix:商品价格曲线、利润曲线期货指标往前取数规则调整

Roc 1 жил өмнө
parent
commit
37260693a7

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

@@ -309,7 +309,7 @@ func ProfitChartChartData(baseDataList []*data_manage.EdbDataList, futureGoodEdb
 
 			calculateMap := make(map[int]float64)
 			for _, childFutureGoodEdbInfoId := range childFutureGoodEdbInfoIdList {
-				tmpRealDateTime := findDateTime
+				tmpRealDateTime := realDateTime
 				tmpFindDataValue, tmpIsFind := edbDataMap[childFutureGoodEdbInfoId][findDateTime.Format(utils.FormatDate)]
 
 				if tmpIsFind && tmpFindDataValue != 0 {