From f0f33318f5f25a4b7326de80d8df814d9410cc11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E5=89=8D=E6=98=8E?= <909355014@qq.com> Date: Tue, 6 Sep 2022 18:04:47 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E5=9C=A8=E5=8E=82=E4=B8=94?= =?UTF-8?q?=E7=BB=91=E5=AE=9A=E6=A0=87=E7=AD=BE=E4=BA=BA=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/third/views_d.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/third/views_d.py b/apps/third/views_d.py index fb2d74b7..babc153e 100644 --- a/apps/third/views_d.py +++ b/apps/third/views_d.py @@ -61,6 +61,7 @@ class BltViewSet(CustomGenericViewSet): ret['count_employee'] = qs.filter(employee__type='employee').count() ret['count_remployee'] = qs.filter(employee__type='remployee').count() ret['count_visitor'] = qs.filter(employee__type='visitor').count() + ret['count_driver'] = qs.filter(employee__type='driver').count() return Response(ret) @action(methods=['post'], detail=False, perms_map={'post': 'blt.all'},