浏览代码

Merge branch 'feature/eta1.9.6_chart_series' into debug

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

+ 4 - 4
services/data/chart_info.go

@@ -484,7 +484,7 @@ func GetChartEdbData(chartInfoId, chartType int, calendar, startDate, endDate st
 			if v.SeriesName != "" {
 				seriesNameMap[v.SeriesName] = 1
 			}
-			if v.SeriesNameEn == "" {
+			if v.SeriesNameEn != "" {
 				seriesNameEnMap[v.SeriesNameEn] = 1
 			}
 		}
@@ -1798,7 +1798,7 @@ func CheckChartExtraConfig(chartType int, extraConfigStr string) (edbIdList []in
 			if v.DateConfName != "" {
 				dateNameMap[v.DateConfName] = 1
 			}
-			if v.DateConfNameEn == "" {
+			if v.DateConfNameEn != "" {
 				dateNameEnMap[v.DateConfNameEn] = 1
 			}
 
@@ -1821,7 +1821,7 @@ func CheckChartExtraConfig(chartType int, extraConfigStr string) (edbIdList []in
 			if v.SeriesName != "" {
 				seriesNameMap[v.SeriesName] = 1
 			}
-			if v.SeriesNameEn == "" {
+			if v.SeriesNameEn != "" {
 				seriesNameEnMap[v.SeriesNameEn] = 1
 			}
 		}
@@ -3554,7 +3554,7 @@ func GetChartEdbDataV2(chartInfoId, chartType int, calendar, startDate, endDate
 			if v.SeriesName != "" {
 				seriesNameMap[v.SeriesName] = 1
 			}
-			if v.SeriesNameEn == "" {
+			if v.SeriesNameEn != "" {
 				seriesNameEnMap[v.SeriesNameEn] = 1
 			}
 		}