From 1bf37aa23906129a002e1ab3fdf7cf5e84bd33ed Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 3 Nov 2022 13:08:37 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E8=B7=91=E4=B8=80=E6=AE=B5=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E7=9A=84=E6=89=93=E5=8D=A1=E8=AE=B0=E5=BD=95bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/hrm/services.py | 2 ++ 1 file changed, 2 insertions(+) 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