1.职位模糊查询

This commit is contained in:
李伟 2022-09-22 14:43:31 +08:00
parent 2c5009f3c9
commit 2140a00368

View File

@ -1979,7 +1979,7 @@ async def send_interviewee(
if not user:
return schemas.Msg(code=-9, msg='职位不存在', data='')
user_list = [i['user_id'] for i in user['hr_name']]
send = f"""【推荐通知】\n{current_user.name}给你推荐了一位面试者\n面试者姓名:{res[0]['name']}\n岗位:{res[0]['job_names']}"""
send = f"""【推荐通知】\n{current_user.nickname}给你推荐了一位面试者\n面试者姓名:{res[0]['name']}\n岗位:{res[0]['job_names']}"""
send_dates(send, user_list)
department = ','.join(user_list)
up_sql = f"""ALTER TABLE HR.resumes update department = '{department}' where uid = '{data_in.uid}'"""