fix: 调整数据结构3

This commit is contained in:
caoqianming 2025-03-13 17:11:02 +08:00
parent a350d97202
commit 9ef752cb05
1 changed files with 1 additions and 1 deletions

View File

@ -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: