From 6cc249c5bb820f923fc627a951d3233873654748 Mon Sep 17 00:00:00 2001 From: P3ngSaM <61768364+P3ngSaM@users.noreply.github.com> Date: Thu, 15 Sep 2022 20:18:02 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=9F=A5=E8=AF=A2=E9=99=A9=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Company/Common/CommonImpl.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Company/Common/CommonImpl.py b/Company/Common/CommonImpl.py index a0ac0fc..44f8c68 100644 --- a/Company/Common/CommonImpl.py +++ b/Company/Common/CommonImpl.py @@ -34,6 +34,9 @@ class CommonImpl(object): page_no ) + if records: + for rec in records: + rec['_id'] = str(rec['_id']) result = { "total": total, "records": records