@@ -244,6 +244,9 @@ class HrAttendanceDetail(models.Model):
|
||||
('current_data', '=', current_data),
|
||||
],
|
||||
)
|
||||
if check_in_time and check_out_time and check_in_time == check_out_time:
|
||||
check_out_time = None
|
||||
|
||||
# 获取正常上下班时间
|
||||
sch_check_in_time, sch_check_out_time = self.normal_clock_in_time(template, current_data)
|
||||
is_early_card, is_late_card, is_abnormal, is_warning, absenteeism_card, is_no_card = self.state_judgment(employee, check_in_time, check_out_time, sch_check_in_time, sch_check_out_time, current_data, is_manual)
|
||||
|
||||
Reference in New Issue
Block a user