|
@@ -892,11 +892,11 @@ func GetChartPredictEdbInfoDataListByRuleSeason(edbInfoId int, yearsList []int,
|
|
|
|
|
|
currentDateStr := currentDate.Format(utils.FormatDate)
|
|
|
tmpData := &models.EdbDataList{
|
|
|
- EdbDataId: edbInfoId + 10000000000 + index + k,
|
|
|
- //EdbInfoId: edbInfoId,
|
|
|
- DataTime: currentDateStr,
|
|
|
- Value: val,
|
|
|
- //DataTimestamp: (currentDate.UnixNano() / 1e6) + 1000, //前端需要让加1s,说是2022-09-01 00:00:00 这样的整点不合适
|
|
|
+ EdbDataId: edbInfoId + 10000000000 + index + k,
|
|
|
+ EdbInfoId: edbInfoId,
|
|
|
+ DataTime: currentDateStr,
|
|
|
+ Value: val,
|
|
|
+ DataTimestamp: (currentDate.UnixNano() / 1e6) + 1000, //前端需要让加1s,说是2022-09-01 00:00:00 这样的整点不合适
|
|
|
}
|
|
|
newPredictEdbInfoData = append(newPredictEdbInfoData, tmpData)
|
|
|
allDataList = append(allDataList, tmpData)
|