添加功能

This commit is contained in:
李鹏宇
2025-11-17 20:01:00 +08:00
parent bd05a0a3c3
commit 687665486b
+1 -1
View File
@@ -803,7 +803,7 @@ class HrAttendance(models.Model):
slot_end = datetime.combine(current_date + timedelta(days=1), datetime.min.time())
# 构建查询条件
domain = [
('planning_name', '=', planning_name),
('template_id.planning_name', '=', planning_name),
('start_datetime', '>=', slot_start),
('start_datetime', '<', slot_end),
('role_id.name', '=', dept_name),