perf: Add user source column to the user list

This commit is contained in:
fit2cloud-chenyw
2025-12-02 18:41:01 +08:00
committed by fit2cloud-chenyw
parent 7e9ef21958
commit 5eaeb0e096
2 changed files with 19 additions and 8 deletions
+2
View File
@@ -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: