|
@@ -186,7 +186,11 @@ func (pwp *PortraitProjectScreen) CommonPare(isWinner bool) (mustQueryArr []stri
|
|
|
|
|
|
//行业多选
|
|
|
if pwp.Screen.ScopeClass != "" {
|
|
|
- mustQueryArr = append(mustQueryArr, fmt.Sprintf(`{"terms":{"subscopeclass":["%s"]}}`, strings.ReplaceAll(pwp.Screen.ScopeClass, ",", "\",\"")))
|
|
|
+ if isWinner {
|
|
|
+ mustQueryArr = append(mustQueryArr, fmt.Sprintf(`{"terms":{"s_subscopeclass":["%s"]}}`, strings.ReplaceAll(pwp.Screen.ScopeClass, ",", "\",\"")))
|
|
|
+ } else {
|
|
|
+ mustQueryArr = append(mustQueryArr, fmt.Sprintf(`{"terms":{"subscopeclass":["%s"]}}`, strings.ReplaceAll(pwp.Screen.ScopeClass, ",", "\",\"")))
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
//按照当前年份,往前推4年,共5个年份可选
|