From 8817757f5e5db190d507b36c2b84f66d6a14b9b5 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 30 Apr 2021 14:39:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E7=BB=84=E7=BB=87=E8=A1=A8?= =?UTF-8?q?=E5=88=9B=E5=BB=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/apps/quality/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/apps/quality/views.py b/server/apps/quality/views.py index 5854e7b..4ac22f2 100644 --- a/server/apps/quality/views.py +++ b/server/apps/quality/views.py @@ -196,7 +196,7 @@ class InspectDeptViewSet(OptimizationMixin, ListModelMixin, RetrieveModelMixin, if not InspectRecord.objects.filter(dept=obj.dept, subtask=obj.subtask).exists(): for i in InspectItem.objects.filter(is_deleted=False, template=obj.subtask.inspecttask.template): r = {} - r['dept'] = obj.dpet + r['dept'] = obj.dept r['item'] = i r['subtask'] = obj.subtask r['create_by'] = request.user