From adcde59bd1ca48fa76ddae67ddb5d111d3638e6c Mon Sep 17 00:00:00 2001 From: caoqianming Date: Sat, 19 Apr 2025 21:23:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=B6=E4=BB=96=E5=85=A5=E5=BA=93?= =?UTF-8?q?=E6=97=B6batchst.g=5Fcreate=E4=BC=A0=E5=8F=82=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/inm/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/inm/services.py b/apps/inm/services.py index 351fa122..6f27159a 100644 --- a/apps/inm/services.py +++ b/apps/inm/services.py @@ -261,7 +261,7 @@ class InmService: if item.mb: BatchSt.g_create(batch=item.batch) else: - BatchSt.g_create(batch=item, mio=instance, material_start=item.material) + BatchSt.g_create(batch=item.batch, mio=instance, material_start=item.material) if is_reverse: cls.update_mb(instance, -1) else: