From 1e6ffbdeb072006901e8ffda093c76afcb98b888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E5=89=8D=E6=98=8E?= <909355014@qq.com> Date: Thu, 14 Jul 2022 09:54:53 +0800 Subject: [PATCH] =?UTF-8?q?hrm=20sync=5Fdahua=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/hrm/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/hrm/services.py b/apps/hrm/services.py index 45272181..6c98d41a 100755 --- a/apps/hrm/services.py +++ b/apps/hrm/services.py @@ -183,7 +183,7 @@ class HrmService: ep.save() if ep.user and ep.user.phone != ep.phone: ep.user.phone = ep.phone - ep.save() + ep.user.save() return ep @classmethod