From 7534aaa8bd3f3bc66f3940d1040b33a1e69304f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=BC=9F?= <250213850@qq.com> Date: Tue, 8 Nov 2022 13:59:31 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=9A=82=E6=97=B6=E5=85=B3=E9=97=AD=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/api_v1/endpoints/interview.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/api_v1/endpoints/interview.py b/api/api_v1/endpoints/interview.py index d913e51..685c5e4 100644 --- a/api/api_v1/endpoints/interview.py +++ b/api/api_v1/endpoints/interview.py @@ -2513,9 +2513,9 @@ async def send_interviewee( 'create': str(datetime.now()).split('.')[0]} # 先查有没有推荐记录 res = await crud.department.where_dep(db, {'uid': data_in.uid}) - # 放入任务之中 - judge(**{'uid': data_in.uid, 'subject': '推荐通知', 'creator_id': current_user.unionid, - 'description': send, 'executor_ids': unionid_list, "types": False, 'times': hours()}) + # 放入任务之中 暂时注释以后开放任务 + # judge(**{'uid': data_in.uid, 'subject': '推荐通知', 'creator_id': current_user.unionid, + # 'description': send, 'executor_ids': unionid_list, "types": False, 'times': hours()}) if res == []: # 没有则创建 await crud.department.create(db, datas) else: # 有就更新