|
@@ -140,6 +140,10 @@ func AddCalculateQuarterV5(dataList []*EdbDataList) (result *EdbDataResult, err
|
|
|
fmt.Println("errMsg:", errMsg)
|
|
|
}
|
|
|
}()
|
|
|
+ if len(dataList) <= 0 {
|
|
|
+ result.List = make([]*EdbDataItems, 0)
|
|
|
+ return
|
|
|
+ }
|
|
|
|
|
|
endDate := dataList[len(dataList)-1].DataTime
|
|
|
endDateForm, err := time.Parse(utils.FormatDate, endDate)
|