瀏覽代碼

Merge branch 'dev_v1.1.63_wh' of BaseService/jyMicroservices into feature/v1.1.63

王浩 7 月之前
父節點
當前提交
a64c9867b6
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      jyBXCore/rpc/service/operator.go

+ 2 - 2
jyBXCore/rpc/service/operator.go

@@ -753,11 +753,11 @@ func SearchList(operator Operator) (int64, *[]map[string]interface{}, int64) {
 	}
 	//行业处理
 	if operator.Industry != "" {
-		filterArr = append(filterArr, fmt.Sprintf(`{"match":{"industry":["%s"]}}`, strings.ReplaceAll(operator.Industry, ",", `","`)))
+		filterArr = append(filterArr, fmt.Sprintf(`{"terms":{"industry":["%s"]}}`, strings.ReplaceAll(operator.Industry, ",", `","`)))
 	}
 	//中标人标签处理
 	if operator.WinnerTag != "" {
-		filterArr = append(filterArr, fmt.Sprintf(`{"match":{"winner_tag":["%s"]}}`, strings.ReplaceAll(operator.WinnerTag, ",", `","`)))
+		filterArr = append(filterArr, fmt.Sprintf(`{"terms":{"winner_tag":["%s"]}}`, strings.ReplaceAll(operator.WinnerTag, ",", `","`)))
 
 	}
 	//查看自己是否定制