From cc160773851e6016c9c0a35ef502c5f3fa0ba948 Mon Sep 17 00:00:00 2001 From: pengtao Date: Mon, 19 Aug 2019 10:51:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=AD=A3=E5=BC=8F=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E4=B8=8E=E6=B5=8B=E8=AF=95=E7=8E=AF=E5=A2=83=20gameid?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E7=B1=BB=E5=9E=8B=E4=B8=8D=E5=90=8C=E5=B8=A6?= =?UTF-8?q?=E6=9D=A5=E7=9A=84=E5=B7=AE=E5=BC=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data_collect_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_collect_interface.py b/data_collect_interface.py index eeb06b7..5957b09 100644 --- a/data_collect_interface.py +++ b/data_collect_interface.py @@ -125,7 +125,7 @@ class DispatchHandler(tornado.web.RequestHandler): def _get_dailyreport_data(self, gameid, times, channel, methods): sql = f"""SELECT result FROM v_event_{self.suffix} where "$part_event"='rep_{methods}'and date='{times}' - and "gameid"='{gameid}' and channelid={channel} """ + and "gameid"={gameid} and channelid={channel} """ data = self.tga.get_data(sql) print(f"sql={sql}") all = []