添加功能

This commit is contained in:
李鹏宇
2025-10-24 11:13:53 +08:00
parent 815ea95a7e
commit 063e2de004
@@ -201,7 +201,6 @@ class YuthonVacationReports(models.Model):
valid_attendances = [
att for att in attendances
if (att.check_in or att.check_out) # 有有效打卡
and not att.is_abnormal # 不是异常打卡
]
if valid_attendances:
actual_attendance += 1