!5936 添加功能

Merge pull request !5936 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2025-10-24 03:14:25 +00:00
committed by Gitee
@@ -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