调整正式环境与测试环境 gameid字段类型不同带来的差异
This commit is contained in:
parent
05ad2396df
commit
cc16077385
@ -125,7 +125,7 @@ class DispatchHandler(tornado.web.RequestHandler):
|
|||||||
|
|
||||||
def _get_dailyreport_data(self, gameid, times, channel, methods):
|
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}'
|
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)
|
data = self.tga.get_data(sql)
|
||||||
print(f"sql={sql}")
|
print(f"sql={sql}")
|
||||||
all = []
|
all = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user