From 036394d80ca31dc251e8fc38539d7c8422f70d77 Mon Sep 17 00:00:00 2001 From: haoqiyue <1293971940@qq.com> Date: Sat, 31 Dec 2022 11:27:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96ltv=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E8=B4=A6=E6=88=B7=E8=BF=87=E6=BB=A4=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/x_analysis.py | 1 + 1 file changed, 1 insertion(+) diff --git a/models/x_analysis.py b/models/x_analysis.py index 9dfa4e7..7097557 100644 --- a/models/x_analysis.py +++ b/models/x_analysis.py @@ -260,6 +260,7 @@ class XAnalysis: qry = sa.select().where(*where_account) sql = str(qry.compile(compile_kwargs={"literal_binds": True})) where_account_str = sql.split('WHERE ')[1] + where_account_str = where_account_str.split('AND')[0] if self.game == 'huixie' and quota == '#distinct_id': event_n='new_device' else: