Browse Source

Merge branch 'feature/eta1.9.7_interval_analysis' of eta_server/eta_api into master

xyxie 7 months ago
parent
commit
fad92aa7c3
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

@@ -660,7 +660,7 @@ func GetChartDataByEdbInfoListBySeries(chartInfoId int, dateType, startYear int,
 			}
 			var condition string
 			var pars []interface{}
-			condition = " edb_info_id in (" + utils.GetOrmInReplace(len(edbIds)) + ") "
+			condition = " and edb_info_id in (" + utils.GetOrmInReplace(len(edbIds)) + ") "
 			pars = append(pars, edbIds)
 			count, e := data_manage.GetEdbInfoCountByCondition(condition, pars)
 			if e != nil {