|
@@ -10,12 +10,13 @@ import (
|
|
|
"eta/eta_api/services/data"
|
|
|
"eta/eta_api/utils"
|
|
|
"fmt"
|
|
|
- "github.com/shopspring/decimal"
|
|
|
"math"
|
|
|
"sort"
|
|
|
"strconv"
|
|
|
"strings"
|
|
|
"time"
|
|
|
+
|
|
|
+ "github.com/shopspring/decimal"
|
|
|
)
|
|
|
|
|
|
type LineEquationResp struct {
|
|
@@ -298,6 +299,10 @@ func getConfigData(lineChartInfoConfig request.LineChartInfoReq) (mappingList []
|
|
|
startDate = "2020-01-01"
|
|
|
case 11:
|
|
|
startDate = "2022-01-01"
|
|
|
+ case 12:
|
|
|
+ startDate = "2023-01-01"
|
|
|
+ case 13:
|
|
|
+ startDate = "2024-01-01"
|
|
|
}
|
|
|
|
|
|
//指标数据
|