wangshan 6 месяцев назад
Родитель
Сommit
b3c6098794
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      marketanalysis/marketanalysis.go

+ 2 - 2
marketanalysis/marketanalysis.go

@@ -1474,8 +1474,8 @@ func (a *AnalysisEntity) BuyerWinnerAnalysis() map[string]interface{} {
 	wc := fmt.Sprintf(winnerCount, Top30, Top30)
 	ws := fmt.Sprintf(winnerSortprice, Top30, Top30)
 	if a.Offline == ValueOffline {
-		bc = fmt.Sprintf(winnerCount, BWCount, Top30)
-		bs = fmt.Sprintf(winnerSortprice, BWCount, Top30)
+		wc = fmt.Sprintf(winnerCount, BWCount, Top30)
+		ws = fmt.Sprintf(winnerSortprice, BWCount, Top30)
 	}
 	datas = append(datas, winnerProcurementScale, wc, ws)
 	finalSql := fmt.Sprintf(a.GetCommonQuerySqlWithAggs(), strings.Join(datas, ","))