From 53dd0a7c073f7607a9794b69572a5e411c45a6b1 Mon Sep 17 00:00:00 2001 From: haoqiyue <1293971940@qq.com> Date: Sat, 31 Dec 2022 11:03:06 +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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/models/x_analysis.py b/models/x_analysis.py index c07bd6a..9dfa4e7 100644 --- a/models/x_analysis.py +++ b/models/x_analysis.py @@ -253,7 +253,8 @@ class XAnalysis: sql = str(qry.compile(compile_kwargs={"literal_binds": True})) where_order_str = 'WHERE '.join(sql.split('WHERE ')[1:]) - where_account = await self.handler_filts((self.account_filters, 'and'), self.ext_filters) + # where_account = await self.handler_filts((self.account_filters, 'and'), self.ext_filters) + where_account = where_order where_account_str = 1 if where_account: qry = sa.select().where(*where_account)