Prechádzať zdrojové kódy

Merge branch 'fix/2023-1-12' into debug

Roc 2 rokov pred
rodič
commit
0ea32a9f84

+ 3 - 0
models/predict_edb_data_calculate_nszydbpjjs.go

@@ -132,6 +132,9 @@ func SavePredictCalculateNszydpjjs(reqEdbInfoId, classifyId int, edbName, freque
 		existCondition += " AND edb_info_id=? AND from_edb_info_id=? "
 		existPars = append(existPars, edbInfo.EdbInfoId, fromEdbInfo.EdbInfoId)
 
+		latestDateStr = edbInfo.LatestDate
+		latestValue = edbInfo.LatestValue
+
 		count, tmpErr := GetEdbInfoCalculateCountByCondition(existCondition, existPars)
 		if tmpErr != nil {
 			err = errors.New("判断指标是否改变失败,Err:" + tmpErr.Error())