diff --git a/apps/hrm/services.py b/apps/hrm/services.py index cc835d82..42ae1dbe 100755 --- a/apps/hrm/services.py +++ b/apps/hrm/services.py @@ -239,6 +239,7 @@ class HrmService: cr_10.employee = ep cr_10.trigger = 'door' cr_10.detail = data['info']['extend'] + cr_10.create_time = s_time_f cr_10.save() ep.is_atwork = True ep.last_check_time = s_time_f @@ -264,6 +265,7 @@ class HrmService: cr_20.employee = ep cr_20.trigger = 'door' cr_20.detail = data['info']['extend'] + cr_20.create_time = s_time_f cr_20.save() ep.is_atwork = False ep.last_check_time = s_time_f