diff --git a/yuthon_hr_attendance/models/hr_attendance_detail_wechat.py b/yuthon_hr_attendance/models/hr_attendance_detail_wechat.py index 60d5c5788..94bee2ecb 100644 --- a/yuthon_hr_attendance/models/hr_attendance_detail_wechat.py +++ b/yuthon_hr_attendance/models/hr_attendance_detail_wechat.py @@ -366,7 +366,7 @@ class HrAttendanceDetail(models.Model): employee_list.append(resource_id.employee_id.id) if employee.id not in employee_list: # 判断是否工作日 - if self._process_shift_days(current_data): + if not self._process_shift_days(current_data): return is_early_card, is_late_card, is_abnormal, is_warning, absenteeism_card, is_no_card is_tianhe_property = employee.company_id.name == "天河物管"