浏览代码

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, ","))