From 0fd704175fd34d09910d9b214f82e65b4222c2dd Mon Sep 17 00:00:00 2001 From: pengtao Date: Wed, 16 Oct 2019 14:02:57 +0800 Subject: [PATCH] =?UTF-8?q?tap=20order=20=20=E6=95=B0=E6=8D=AE=E5=86=99?= =?UTF-8?q?=E5=85=A5mysql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- taptap/taptap_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taptap/taptap_report.py b/taptap/taptap_report.py index 748150e..c849993 100644 --- a/taptap/taptap_report.py +++ b/taptap/taptap_report.py @@ -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: