xyxie 4 сар өмнө
parent
commit
0cf6761ee4

+ 2 - 1
controllers/data_manage/ccf_data.go

@@ -824,7 +824,8 @@ func (this *EdbInfoController) CCFIndexBatchSearch() {
 		condition += " AND frequency IN (" + utils.GetOrmInReplace(len(frequencyList)) + " ) "
 		pars = append(pars, frequencyList)
 	}
-
+	condition += ` AND index_code not in (SELECT edb_code FROM edb_info WHERE source=?) `
+	pars = append(pars, utils.DATA_SOURCE_CCF)
 	list, err := data_manage.GetCCFIndexPage(condition, pars, startSize, pageSize)
 	if err != nil {
 		br.Msg = "获取失败"