Sfoglia il codice sorgente

指标搜索增加来源搜索

xyxie 10 mesi fa
parent
commit
d7cecb0095
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      controllers/data_manage/edb_info.go

+ 4 - 0
controllers/data_manage/edb_info.go

@@ -3378,6 +3378,10 @@ func (this *EdbInfoController) EdbInfoFilterByEs() {
 			pars = append(pars, frequency)
 		}
 
+		if source > 0 && filterSource != 5 {
+			condition += ` AND source = ? `
+			pars = append(pars, source)
+		}
 		// 查询只允许添加预测指标的搜索
 		if isAddPredictEdb {
 			condition += ` AND frequency in ("日度","周度","月度") `