|
@@ -57,7 +57,7 @@ func GetChartInfoDetail(c *gin.Context) {
|
|
|
// 指标ID
|
|
|
edbInfoId := c.DefaultQuery("EdbInfoId", "")
|
|
|
// 公历/农历
|
|
|
- calendar := c.DefaultQuery("Calendar", "公历")
|
|
|
+ reqCalendar := c.DefaultQuery("Calendar", "")
|
|
|
|
|
|
// 获取图表信息
|
|
|
var err error
|
|
@@ -72,6 +72,10 @@ func GetChartInfoDetail(c *gin.Context) {
|
|
|
return
|
|
|
}
|
|
|
chartType = chartInfo.ChartType
|
|
|
+ calendar := chartInfo.Calendar
|
|
|
+ if reqCalendar == "" {
|
|
|
+ calendar = reqCalendar
|
|
|
+ }
|
|
|
|
|
|
// 时段筛选
|
|
|
reqDateType := c.DefaultQuery("DateType", "")
|