hrm sync_dahua 优化

This commit is contained in:
曹前明 2022-07-14 09:54:53 +08:00
parent b20d9816dd
commit 1e6ffbdeb0
1 changed files with 1 additions and 1 deletions

View File

@ -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