This commit is contained in:
Donald Zou
2025-06-19 16:51:59 +08:00
parent e88936c05a
commit 7e9cfc2872
8 changed files with 150 additions and 38 deletions

View File

@@ -63,7 +63,9 @@ class DashboardClients:
def GetClientProfile(self, ClientID):
with self.engine.connect() as conn:
return dict(conn.execute(
self.dashboardClientsInfoTable.select().where(
db.select(
*[c for c in self.dashboardClientsInfoTable.c if c.name != 'ClientID']
).where(
self.dashboardClientsInfoTable.c.ClientID == ClientID
)
).mappings().fetchone())