ソースを参照

FIX:订单修改

cxyu 3 年 前
コミット
b8819b6216
1 ファイル変更1 行追加2 行削除
  1. 1 2
      handlers/OrderHandler.py

+ 1 - 2
handlers/OrderHandler.py

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