From 9ef752cb0578045b09edd88bc694ece972039a39 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 13 Mar 2025 17:11:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E7=BB=93=E6=9E=843?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wpm/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wpm/views.py b/apps/wpm/views.py index 72a3cea4..cee9c264 100644 --- a/apps/wpm/views.py +++ b/apps/wpm/views.py @@ -707,7 +707,7 @@ class MlogbwViewSet(CustomModelViewSet): # 如果是输入且输出追踪到个,需同步创建 material_in:Material = mlogb.material_in if material_in is not None: - mlogb_qs = Mlogb.objects.filter(mlogbw_from=ins) + mlogb_qs = Mlogb.objects.filter(mlogbw_from=mlogb) material_out:Material = mlogb.mlog.material_out mtype = route.process.mtype if route.process else None if material_in.tracking == Material.MA_TRACKING_SINGLE and mtype == Process.PRO_DIV: