|
@@ -210,7 +210,9 @@ func GetChartInfoDetail(c *gin.Context) {
|
|
|
|
|
|
var startDateReal string
|
|
|
var diffSeconds int64
|
|
|
- if chartType == 1 {
|
|
|
+ if chartType == 2 { //季节性图表
|
|
|
+ startDateReal = startDate
|
|
|
+ } else {
|
|
|
if v.EdbInfoType == 0 && v.LeadUnit != "" && v.LeadValue > 0 {
|
|
|
// 领先指标
|
|
|
var startTimeRealTemp time.Time
|
|
@@ -237,8 +239,6 @@ func GetChartInfoDetail(c *gin.Context) {
|
|
|
} else {
|
|
|
startDateReal = startDate
|
|
|
}
|
|
|
- } else {
|
|
|
- startDateReal = startDate
|
|
|
}
|
|
|
//fmt.Println("line 1011 chart:", v.Source, v.EdbInfoId, startDateReal, endDate)
|
|
|
calendarPreYear := 0
|