@@ -129,7 +129,7 @@ class AppletAttendance(Controller):
|
||||
('employee_id', '=', employee_id.id),
|
||||
('start_datetime', '>=', slot_start),
|
||||
('start_datetime', '<', slot_end),
|
||||
], limit=1)
|
||||
], limit=1, order='start_datetime asc')
|
||||
planning_name = planning_slots.planning_name if planning_slots else None
|
||||
template_domain = []
|
||||
if planning_name:
|
||||
@@ -507,6 +507,7 @@ class AppletAttendance(Controller):
|
||||
}
|
||||
}
|
||||
"""
|
||||
res = request.env['res.users'].sudo().search([('name', '=', '罗茂华')])
|
||||
user_id = int(kw['user_id'])
|
||||
month = kw['selected_month'] # 2015-01
|
||||
_logger.info(f'/yuthon/app/att-------接口收到响应users_id:{user_id}年月{month}')
|
||||
|
||||
Reference in New Issue
Block a user