fix: mlogbw create bug
This commit is contained in:
parent
a2fb5598f8
commit
9eb3abefc4
|
@ -681,7 +681,7 @@ class MlogbwViewSet(CustomModelViewSet):
|
|||
ins:Mlogbw = serializer.save()
|
||||
route:Route = ins.mlogb.mlog.route
|
||||
mlogb:Mlogb = ins.mlogb
|
||||
self.cal_mlogb_count(mlogb)
|
||||
Mlogbw.cal_count_notok(mlogb)
|
||||
# 如果是输入且输出追踪到个,需同步创建
|
||||
material_in:Material = mlogb.material_in
|
||||
if material_in is not None:
|
||||
|
|
Loading…
Reference in New Issue