|
@@ -233,7 +233,7 @@ func (sRoot *KeyWordSiteRoot) GetDistrictData(ctx context.Context, maxTotal int,
|
|
|
}
|
|
|
values = append(values, maxTotal+50)
|
|
|
queryRes, err := g.DB().Query(ctx, fmt.Sprintf(`SELECT b.bid_id, b.keyword
|
|
|
- FROM new_districtKeywords_do b
|
|
|
+ FROM new_districtKeywords b
|
|
|
WHERE 1=1 %s
|
|
|
ORDER BY b.publish_time DESC
|
|
|
LIMIT 0,?`, sql), values...)
|