添加功能

This commit is contained in:
李鹏宇
2026-09-02 12:01:32 +08:00
parent 25e4563a22
commit 83791770f7
25 changed files with 54 additions and 60 deletions
@@ -602,7 +602,7 @@ class HrAttendanceDetail(models.Model):
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 == "天河物管"
is_tianhe_property = employee.company_id.id == 3
# 只要是旷工 就不算早退 或者迟到
# 迟到判断