Преглед изворни кода

wip:中标单位采购单位

wangshan пре 6 месеци
родитељ
комит
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, ","))