diff --git a/yuthon_hr_attendance/models/hr_attendance_detail_wechat.py b/yuthon_hr_attendance/models/hr_attendance_detail_wechat.py index 86a6afa44..f0149f2e0 100644 --- a/yuthon_hr_attendance/models/hr_attendance_detail_wechat.py +++ b/yuthon_hr_attendance/models/hr_attendance_detail_wechat.py @@ -119,7 +119,7 @@ class HrAttendanceDetail(models.Model): if attendance: if not attendance.check_in: attendance.check_in = record.checkin_time - attendance.check_out = record.checkin_time - timedelta(hours=8) + attendance.check_out = record.checkin_time # 传参按一个人打卡一次传参