浏览代码

Merge branch 'ETA_1.9.4' into debug

zwxi 8 月之前
父节点
当前提交
44c6b80b3c
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      services/data/chart_info.go

+ 4 - 1
services/data/chart_info.go

@@ -3837,7 +3837,10 @@ func SeasonChartData(dataList []*data_manage.ChartEdbInfoMapping, seasonExtraCon
 		if mappingItem.IsAxis == 0 {
 			continue
 		}
-		quarterDataList := mappingItem.DataList.(data_manage.QuarterDataList)
+		quarterDataList, ok := mappingItem.DataList.(data_manage.QuarterDataList)
+		if !ok {
+			continue
+		}
 		// 上下限区间
 		if seasonConfig.MaxMinLimits.Year > 0 {
 			dataResp.MaxMinLimits.List = make([]*data_manage.MaxMinLimitsData, 0)