Browse Source

Merge branch 'bzq/knowledge_Bi' of eta_gn_server/eta_api into debug

baoziqiang 4 months ago
parent
commit
0aa312a09f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/knowledge/es.go

+ 1 - 1
services/knowledge/es.go

@@ -37,7 +37,7 @@ func SearchKnowledgeResourceByEs(resourceType int, keywordStr string, showSysIds
 	if len(showSysIds) > 0 {
 		mustMap = append(mustMap, map[string]interface{}{
 			"terms": map[string]interface{}{
-				"SysUserId": showSysIds,
+				"AdminId": showSysIds,
 			},
 		})
 	}