This commit is contained in:
pengtao 2019-11-20 16:13:31 +08:00
parent 9ef914b492
commit c125a7da0c

View File

@ -43,7 +43,7 @@ class TapWeeklyReport:
group by group by
gameid gameid
""" """
pdb.set_trace()
data = self.db_conn.query(sql) data = self.db_conn.query(sql)
if data: if data:
try: try:
@ -55,12 +55,13 @@ class TapWeeklyReport:
except Exception: except Exception:
log.error(f"get {tap_type} min/max order failed!", exc_info=True) log.error(f"get {tap_type} min/max order failed!", exc_info=True)
sql02 = f"""select gameid,title,score,tags,order,watch,download,sell,review,reserve,topic from sql02 = f"""select gameid,title,score,tags,`order`,watch,download,sell,review,reserve,topic from
taptap_collect taptap_collect
where where
catename='{tap_type}' catename='{tap_type}'
and date ='{self.day}' and date ='{self.day}'
""" """
pdb.set_trace()
data02 = self.db_conn.query(sql02) data02 = self.db_conn.query(sql02)
if data02: if data02:
try: try: