From 11f93f3a21ffff48222965dcc89bbd14814aefd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Tue, 3 Feb 2026 09:55:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=B7=E5=81=87=E7=BB=93=E6=9D=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_holiday/models/inherit_hr_leave.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_holiday/models/inherit_hr_leave.py b/yuthon_holiday/models/inherit_hr_leave.py index 89ef499cf..4ed026a2b 100644 --- a/yuthon_holiday/models/inherit_hr_leave.py +++ b/yuthon_holiday/models/inherit_hr_leave.py @@ -549,7 +549,7 @@ class HolidaysRequestBatch(models.Model): }) ('start_time', '>=', datetime(2025, 12, 1)), remaining_deduct = deduct_days - vacation_report.vacation_report += deduct_days + vacation_report.used_this_year1 += deduct_days # 优先扣减上年剩余(补休) if vacation_report.dynamic_previous_year1 > 0: if vacation_report.dynamic_previous_year1 >= remaining_deduct: