From b978bcc890e48a0ae812a0514037111edf6b0d95 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Wed, 13 Aug 2025 17:22:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_hr_attendance/controllers/applet_attendance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_hr_attendance/controllers/applet_attendance.py b/yuthon_hr_attendance/controllers/applet_attendance.py index dcecd0f64..7406922cc 100644 --- a/yuthon_hr_attendance/controllers/applet_attendance.py +++ b/yuthon_hr_attendance/controllers/applet_attendance.py @@ -293,7 +293,7 @@ class AppletAttendance(Controller): # 创建考勤记录 request.env(user=SUPERUSER_ID)["hr.attendance.detail"].create({ 'employee_id': employee_id.id, - 'checkin_time': current_datetime, + 'checkin_time': current_datetime - timedelta(hours=8), 'source': 'mini_programs', 'groupname': groupname, 'checkin_type': checkin_type,