tap order 数据写入mysql

This commit is contained in:
pengtao 2019-10-16 14:02:57 +08:00
parent f3850a4779
commit 0fd704175f

View File

@ -33,7 +33,7 @@ class TapTapReport:
def split_order_data(self, day):
all_data = dict()
mydb = MysqlBase(**self.db_conf)
sql = f"select gameid,catename,`order`,date from taptap_order WHERE date={day}"
sql = f"select gameid,catename,`order`,date from taptap_order WHERE date='{day}'"
pdb.set_trace()
data = mydb.query(sql)
if data: