This commit is contained in:
zlwu committed 2026-08-06 22:21:14 +08:00
1 parent 6a8c3e750e
commit a9ba60cf6b
15 files changed
+8930 -6440

No files matched your search

+1
View File
@@ -339,6 +339,7 @@ async def list_users(
result_list = [
user_svc._row_to_dict(r, dept_name=dept_map.get(r.dept_id or "", "")) for r in items
]
user_svc.enrich_user_dicts_with_relations(db, result_list)
tp = user_svc.total_pages(total, pageSize)
return success_response({"list": result_list, "total": total, "page": page, "pageSize": pageSize, "totalPages": tp})