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