From 2302921c087881059d3baa0e54c20875ef832a00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E5=89=8D=E6=98=8E?= <909355014@qq.com> Date: Wed, 13 Jul 2022 17:10:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BF=E5=AE=A2=E5=85=A5=E5=8E=82=E5=AE=A1?= =?UTF-8?q?=E6=89=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/vm/services.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/vm/services.py b/apps/vm/services.py index f3e83150..4abd054a 100644 --- a/apps/vm/services.py +++ b/apps/vm/services.py @@ -38,6 +38,7 @@ def visit_audit_end(ticket): ep.name = visitor.name ep.phone = visitor.phone ep.photo = visitor.photo + ep.type = 'visitor' ep.save() visitor.employee = ep visitor.visit = visit # 更新当前所属访客项目