mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-09 17:57:06 +08:00
perf: Add user source column to the user list
This commit is contained in:
committed by
fit2cloud-chenyw
parent
7e9ef21958
commit
5eaeb0e096
@@ -48,6 +48,8 @@ async def pager(
|
||||
|
||||
if oidlist:
|
||||
origin_stmt = origin_stmt.where(UserWsModel.oid.in_(oidlist))
|
||||
if origins:
|
||||
origin_stmt = origin_stmt.where(UserModel.origin.in_(origins))
|
||||
if status is not None:
|
||||
origin_stmt = origin_stmt.where(UserModel.status == status)
|
||||
if keyword:
|
||||
|
||||
Reference in New Issue
Block a user