优化ltv模型账户过滤条件
This commit is contained in:
parent
32af767a82
commit
53dd0a7c07
@ -253,7 +253,8 @@ class XAnalysis:
|
|||||||
sql = str(qry.compile(compile_kwargs={"literal_binds": True}))
|
sql = str(qry.compile(compile_kwargs={"literal_binds": True}))
|
||||||
where_order_str = 'WHERE '.join(sql.split('WHERE ')[1:])
|
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
|
where_account_str = 1
|
||||||
if where_account:
|
if where_account:
|
||||||
qry = sa.select().where(*where_account)
|
qry = sa.select().where(*where_account)
|
||||||
|
Loading…
Reference in New Issue
Block a user