fix data
This commit is contained in:
parent
e079bc2b62
commit
49cbbcaf33
@ -33,7 +33,7 @@ class TapWeeklyReport:
|
||||
sql = f"""select
|
||||
gameid,
|
||||
title,
|
||||
min(`order`), sum(diff_order), sum(diff_watch), sum(diff_download), sum(diff_topic), score
|
||||
min(`order`), max(order)
|
||||
from
|
||||
taptap_collect
|
||||
where
|
||||
@ -41,8 +41,7 @@ class TapWeeklyReport:
|
||||
and date in ({weekly_day})
|
||||
group by
|
||||
gameid
|
||||
order by
|
||||
sum(diff_order) desc limit {self.limit};"""
|
||||
"""
|
||||
|
||||
data = self.db_conn.query(sql)
|
||||
if data:
|
||||
|
Loading…
x
Reference in New Issue
Block a user