From 424a165867bbd038dfc4f201e6e85413bf30c709 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Thu, 26 Feb 2026 17:31:30 +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/models/hr_attendance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_hr_attendance/models/hr_attendance.py b/yuthon_hr_attendance/models/hr_attendance.py index e72b947fc..071c8eb87 100644 --- a/yuthon_hr_attendance/models/hr_attendance.py +++ b/yuthon_hr_attendance/models/hr_attendance.py @@ -683,7 +683,7 @@ class HrAttendance(models.Model): domain = [ ('employee_id', '=', employee_id.id), ('checkin_time', '>=', start_datetime), - ('checkin_time', '<', check_out_end - timedelta(hours=8)) + ('checkin_time', '<=', check_out_end - timedelta(hours=8)) ] if '行政' in template.display_name: domain = [