Browse Source

Merge branch 'hotfix/v4.9.16.1_ws' of qmx/jy into hotfix/v4.9.16.1

wangshan 1 year ago
parent
commit
e0b8d56d4f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/jfw/modules/bigmember/src/entity/portrait_screen.go

+ 1 - 1
src/jfw/modules/bigmember/src/entity/portrait_screen.go

@@ -352,7 +352,7 @@ func GetNewBiddingCount(winnerId, buyer string) int64 {
 	if buyer != "" {
 		mustQuery = append(mustQuery, fmt.Sprintf(`{"term": {"buyer": "%s"}}`, buyer))
 	}
-	return elastic.Count(biddingIndex, biddingType, fmt.Sprintf(`{"query":{"bool":{"must":[%s]}}}`, strings.Join(mustQuery, ",")))
+	return elastic.Count(biddingIndex, biddingType, fmt.Sprintf(`{"query":{"bool":{"filter":[%s]}}}`, strings.Join(mustQuery, ",")))
 }
 
 // GetBuyerListSearch 采购单位中标动态查询