Browse Source

截止日期修改

xyxie 6 months ago
parent
commit
62da769ec9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/data/range_analysis/chart_info.go

+ 1 - 1
services/data/range_analysis/chart_info.go

@@ -689,7 +689,7 @@ func getChartDataByEdbInfo(edbInfoMapping *data_manage.ChartEdbInfoMapping, req
 	edbStartDateTime, _ := time.ParseInLocation(utils.FormatDate, edbInfoMapping.StartDate, time.Local)
 	//edbStartDate := edbStartDateTime.AddDate(0, 0, 1).Format(utils.FormatDate)
 	edbEndDateTime, _ := time.ParseInLocation(utils.FormatDate, edbInfoMapping.EndDate, time.Local)
-	edbEndDate := edbEndDateTime.AddDate(0, 0, 1).Format(utils.FormatDate)
+	edbEndDate := edbEndDateTime.Format(utils.FormatDate)
 
 	// 获取时间基准指标在时间区间内的值
 	dataList := make([]*data_manage.EdbDataList, 0)