From e0210c4bef5c18d690a2468a30373cf0ea5f1a2b Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 24 Mar 2023 17:49:33 +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=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/hrm/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/hrm/views.py b/apps/hrm/views.py index 358f8c61..26041945 100755 --- a/apps/hrm/views.py +++ b/apps/hrm/views.py @@ -251,7 +251,7 @@ class ClockRecordViewSet(ListModelMixin, CustomGenericViewSet): i['detail'].get('deviceName', None), i['create_time']], crOptions[i['type']], - crEoptions[i['exception_type']] + crEoptions[i['exception_type']] if i['exception_type'] else '' ) return Response({'path': export_excel(field_data, data, '打卡记录')})