From 519672ef3ff11317ebab3c021d497ad272541ca2 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 6 Jun 2025 16:50:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20mlog=20=E7=9A=84cal=5Fcount=5Fnotok=5Ffu?= =?UTF-8?q?ll=E7=9A=84bug=203?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wpm/serializers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/wpm/serializers.py b/apps/wpm/serializers.py index 02574854..19e4c697 100644 --- a/apps/wpm/serializers.py +++ b/apps/wpm/serializers.py @@ -494,7 +494,7 @@ class MlogSerializer(CustomModelSerializer): ] if mlogbin_defect_objects: MlogbDefect.objects.bulk_create(mlogbin_defect_objects) - minx.cal_count_pn_jgqbl() + minx.cal_count_pn_jgqbl() # 修改产出 if instance.fill_way == Mlog.MLOG_2 and instance.material_out.brothers: @@ -539,7 +539,7 @@ class MlogSerializer(CustomModelSerializer): ] if mlogb_defect_objects: MlogbDefect.objects.bulk_create(mlogb_defect_objects) - mox.cal_count_notok() + mox.cal_count_notok() return instance def validate(self, attrs):