From ed166adf369a605cea13b68e4ca33573464497f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=BC=9F?= <250213850@qq.com> Date: Fri, 16 Sep 2022 09:57:25 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BC=98=E5=8C=96=E9=9D=A2=E8=AF=95=E9=98=B6?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/api_v1/endpoints/interview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/api_v1/endpoints/interview.py b/api/api_v1/endpoints/interview.py index 7d1f0a2..4714f6b 100644 --- a/api/api_v1/endpoints/interview.py +++ b/api/api_v1/endpoints/interview.py @@ -662,7 +662,7 @@ async def condition( str_s = f"{k} = {v}" strs.append(str_s) else: - if k in ['hr_id', 'interview_id'] and v != '': + if k in ['hr_id', 'interview_id','interview_name','hr_name'] and v != '': str_s = f"{k} like '%{v}%'" else: str_s = f"{k} = '{v}'"