From 92bf57dfc892690d57f4c9caec90366c7ec79ba8 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Thu, 26 Dec 2024 17:06:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_hr_attendance/models/yuthon_shift_planning.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yuthon_hr_attendance/models/yuthon_shift_planning.py b/yuthon_hr_attendance/models/yuthon_shift_planning.py index 803520a44..d3670daf8 100644 --- a/yuthon_hr_attendance/models/yuthon_shift_planning.py +++ b/yuthon_hr_attendance/models/yuthon_shift_planning.py @@ -56,8 +56,8 @@ class YuthonShiftPlanning(models.Model): role = [role_template_a, role_template_b, role_template_c] planning_groups = { 'planning_a_ids': [0, 2, 1], # 早 -> 夜 -> 中 - 'planning_b_ids': [2, 1, 0], # 夜 -> 中 -> 早 - 'planning_c_ids': [1, 0, 2], # 中 -> 早 -> 夜 + 'planning_b_ids': [1, 0, 2], # 中 -> 早 -> 夜 + 'planning_c_ids': [2, 1, 0], # 夜 -> 中 -> 早 } weekday_mapping = {