From 4629073fba3e451cbe81ac3ad323234d4d3f0e0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=80=C3=AE=C3=97=C3=9A=C3=95=C3=B1?= Date: Mon, 19 Sep 2022 17:35:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=962?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/api_v1/endpoints/interview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/api_v1/endpoints/interview.py b/api/api_v1/endpoints/interview.py index a972c33..2c14d0b 100644 --- a/api/api_v1/endpoints/interview.py +++ b/api/api_v1/endpoints/interview.py @@ -116,7 +116,7 @@ def chkData(data): if chk_time > bast_time: bast_time = chk_time bast_index = index - data['firm'] = work_list[bast_index] + data['firm'] = work_list[bast_index]['company_name'] else: work_list = [] res1['work_list'] = work_list @@ -940,7 +940,7 @@ async def find_criterion( if chk_time > bast_time: bast_time = chk_time bast_index = index - data['firm'] = work_list[bast_index] + data['firm'] = work_list[bast_index]['company_name'] if data.get('project_undergo', []): project_undergo = [json.loads(i) for i in data['project_undergo']] if isinstance(project_undergo[0], str):