|
@@ -93,7 +93,10 @@ class OrderInfoNobody(BaseHandler):
|
|
|
if not is_over:
|
|
|
|
|
|
op1 = f''' and dt >= '{start}' and dt <= '{end}' '''
|
|
|
- op2 = f''' and name = '{game}' '''
|
|
|
+ op2 = ''
|
|
|
+ if game:
|
|
|
+ game_str = "'" + "','".join(game) + "'"
|
|
|
+ op2 = f" and name in ({game_str}) "
|
|
|
|
|
|
sql = f'''
|
|
|
select DATE_FORMAT(dt,"%Y-%m-%d") dt,name game,
|