From 9cf900d2ef0fe9e2272a872ddcfd0909123cda77 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 9 Oct 2025 11:17:14 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20=E6=B7=BB=E5=8A=A0=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wpm/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wpm/models.py b/apps/wpm/models.py index 1840d37c..f1712de2 100644 --- a/apps/wpm/models.py +++ b/apps/wpm/models.py @@ -524,7 +524,7 @@ class Mlogbw(BaseModel): mlogb.count_real = count count_notok = 0 count_notok_full = 0 - # 个追踪的合格b类不分批 + # 个追踪的合格b类不分开,这里会导致count_ok_full与count_ok一样了,暂时不做处理 tqs = Mlogbw.objects.filter(mlogb=mlogb, ftest__defect_main__isnull=False) tqs_a = Mlogbw.objects.filter(mlogb=mlogb, ftest__defect_main__isnull=False).values("ftest__defect_main").annotate(xcount=Count('id')) defect_ids = tqs.values_list("ftest__defect_main", flat=True)