|
@@ -494,7 +494,7 @@ func GetRangeAnalysisChartDataByEdbInfo(to orm.TxOrmer, fromEdbInfo *EdbInfo, ca
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- newDataList, err = HandleDataByCalculateType(dateList, calculateFormula.CalculateType)
|
|
|
+ newDataList, err = HandleRangeAnalysisDataByCalculateType(dateList, calculateFormula.CalculateType)
|
|
|
if err != nil {
|
|
|
return
|
|
|
}
|
|
@@ -553,8 +553,8 @@ func GetRangeAnalysisChartDataByEdbInfo(to orm.TxOrmer, fromEdbInfo *EdbInfo, ca
|
|
|
return
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-func HandleDataByCalculateType(originList []*ChartRangeAnalysisDateDataItem, calculateType int) (newList []*EdbInfoSearchData, err error) {
|
|
|
+
|
|
|
+func HandleRangeAnalysisDataByCalculateType(originList []*ChartRangeAnalysisDateDataItem, calculateType int) (newList []*EdbInfoSearchData, err error) {
|
|
|
if len(originList) == 0 {
|
|
|
return
|
|
|
}
|