|
@@ -675,6 +675,10 @@ func handleNhccData(dataList []*EdbInfoSearchData, moveDay int) (newDataList []E
|
|
currDate := minDate.AddDate(0, 0, i)
|
|
currDate := minDate.AddDate(0, 0, i)
|
|
tmpValue, ok := newDateMap[currDate]
|
|
tmpValue, ok := newDateMap[currDate]
|
|
if !ok {
|
|
if !ok {
|
|
|
|
+
|
|
|
|
+ if len(newDataList) <= 0 {
|
|
|
|
+ continue
|
|
|
|
+ }
|
|
|
|
|
|
tmpValue = newDataList[len(newDataList)-1].Value
|
|
tmpValue = newDataList[len(newDataList)-1].Value
|
|
}
|
|
}
|