From a046fa46f0657c5ed5396dcb7f19ceb8a6f6c3b0 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 24 Mar 2023 17:52:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=93=E5=8D=A1=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E5=AF=BC=E5=87=BAbug2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/hrm/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/hrm/views.py b/apps/hrm/views.py index 26041945..91367442 100755 --- a/apps/hrm/views.py +++ b/apps/hrm/views.py @@ -249,9 +249,9 @@ class ClockRecordViewSet(ListModelMixin, CustomGenericViewSet): i['employee_']['id_number'], i['employee_'].get('belong_dept_name', ''), i['detail'].get('deviceName', None), - i['create_time']], + i['create_time'], crOptions[i['type']], - crEoptions[i['exception_type']] if i['exception_type'] else '' + crEoptions[i['exception_type']] if i['exception_type'] else ''] ) return Response({'path': export_excel(field_data, data, '打卡记录')})