|
@@ -378,6 +378,7 @@ func handleTaskRecordSuccessByTrain(aiPredictModelImportData request.AiPredictMo
|
|
|
err = fmt.Errorf("数据日期解析失败, %v", e)
|
|
|
return
|
|
|
}
|
|
|
+ timestamp := tmpDate.UnixNano() / 1e6
|
|
|
|
|
|
dataList = append(dataList, &aiPredictModel.AiPredictModelIndexConfigTrainData{
|
|
|
//AiPredictModelDataId: 0,
|
|
@@ -391,7 +392,7 @@ func handleTaskRecordSuccessByTrain(aiPredictModelImportData request.AiPredictMo
|
|
|
DeviationRate: tmpData.DeviationRate,
|
|
|
CreateTime: time.Now(),
|
|
|
ModifyTime: time.Now(),
|
|
|
- DataTimestamp: tmpData.DataTimestamp,
|
|
|
+ DataTimestamp: timestamp,
|
|
|
Source: tmpData.Source,
|
|
|
})
|
|
|
}
|
|
@@ -463,6 +464,7 @@ func handleTaskRecordSuccessByRun(aiPredictModelImportData request.AiPredictMode
|
|
|
err = fmt.Errorf("数据日期解析失败, %v", e)
|
|
|
return
|
|
|
}
|
|
|
+ timestamp := tmpDate.UnixNano() / 1e6
|
|
|
|
|
|
dataList = append(dataList, &aiPredictModel.AiPredictModelData{
|
|
|
//AiPredictModelDataId: 0,
|
|
@@ -475,7 +477,7 @@ func handleTaskRecordSuccessByRun(aiPredictModelImportData request.AiPredictMode
|
|
|
DeviationRate: tmpData.DeviationRate,
|
|
|
CreateTime: time.Now(),
|
|
|
ModifyTime: time.Now(),
|
|
|
- DataTimestamp: tmpData.DataTimestamp,
|
|
|
+ DataTimestamp: timestamp,
|
|
|
Source: tmpData.Source,
|
|
|
})
|
|
|
}
|