hrm sync_dahua 优化
This commit is contained in:
parent
b20d9816dd
commit
1e6ffbdeb0
|
@ -183,7 +183,7 @@ class HrmService:
|
||||||
ep.save()
|
ep.save()
|
||||||
if ep.user and ep.user.phone != ep.phone:
|
if ep.user and ep.user.phone != ep.phone:
|
||||||
ep.user.phone = ep.phone
|
ep.user.phone = ep.phone
|
||||||
ep.save()
|
ep.user.save()
|
||||||
return ep
|
return ep
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Loading…
Reference in New Issue