1.优化面试阶段

This commit is contained in:
李伟 2022-09-16 17:23:11 +08:00
parent c1aae270bd
commit 8b7b7fd807

View File

@ -1911,7 +1911,7 @@ async def send_interviewee(
job_id=res[0]['job_id'] job_id=res[0]['job_id']
user=await crud.jobs.find_job(db,job_id) user=await crud.jobs.find_job(db,job_id)
user_list=[i['user_id'] for i in user['hr_name']] user_list=[i['user_id'] for i in user['hr_name']]
send=f"""【推荐通知】\n{current_user.name}给你推荐了一位面试者\n面试者姓名:{res[0]['name']}\岗位:{res[0]['job_names']}""" send=f"""【推荐通知】\n{current_user.name}给你推荐了一位面试者\n面试者姓名:{res[0]['name']}\n岗位:{res[0]['job_names']}"""
send_dates(send, user_list) send_dates(send, user_list)
return schemas.Msg(code=200, msg='ok', data='') return schemas.Msg(code=200, msg='ok', data='')