去掉搜索条件

This commit is contained in:
18610128193
2026-07-03 10:47:25 +08:00
parent 08bc4f14bb
commit 5d25317f68
@@ -22,8 +22,8 @@ async def list_user_oauth_apps(
if status is not None: if status is not None:
query = query.where(UserOAuthApp.status == status) query = query.where(UserOAuthApp.status == status)
if create_by is not None: #if create_by is not None:
query = query.where(UserOAuthApp.create_by == create_by) # query = query.where(UserOAuthApp.create_by == create_by)
if app_id is not None: if app_id is not None:
query = query.where(UserOAuthApp.app_id.like(f"%{app_id}%")) query = query.where(UserOAuthApp.app_id.like(f"%{app_id}%"))