浏览代码

Merge branch 'chart/14.3' into debug

Roc 1 年之前
父节点
当前提交
111e1caeeb
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      services/chart/edb_info.go

+ 3 - 1
services/chart/edb_info.go

@@ -554,7 +554,9 @@ func GetEdbSourceByEdbInfoIdList(chartEdbInfoMappingList []*chartEdbMappingModel
 			//sourceMap[0] = "弘则研究"
 			baseEdbInfoArr, _, _ := edbInfoModel.GetRefreshEdbInfoFromBase(v.EdbInfoId, v.Source)
 			for _, baseEdbInfo := range baseEdbInfoArr {
-				sourceMap[baseEdbInfo.Source] = baseEdbInfo.SourceName
+				if baseEdbInfo.EdbInfoType == 0 { //普通指标才参与,预测指标不参与
+					sourceMap[baseEdbInfo.Source] = baseEdbInfo.SourceName
+				}
 			}
 		} else {
 			sourceMap[v.Source] = v.SourceName