|
@@ -753,11 +753,11 @@ func SearchList(operator Operator) (int64, *[]map[string]interface{}, int64) {
|
|
}
|
|
}
|
|
//行业处理
|
|
//行业处理
|
|
if operator.Industry != "" {
|
|
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 != "" {
|
|
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, ",", `","`)))
|
|
|
|
|
|
}
|
|
}
|
|
//查看自己是否定制
|
|
//查看自己是否定制
|