fix: mlogbw create bug2
This commit is contained in:
parent
9eb3abefc4
commit
12416a4f61
|
@ -597,7 +597,7 @@ class MlogbInViewSet(CreateModelMixin, UpdateModelMixin, DestroyModelMixin, Cust
|
|||
pass
|
||||
elif mlogbout.qct is None:
|
||||
try:
|
||||
qctmat = QctMat.objects.get(material=material_out, qct__is_deleted=False, qct__tags__contains="process").order_by("-create_time")
|
||||
qctmat = QctMat.objects.get(material=material_out, qct__is_deleted=False, qct__tags__contains="process")
|
||||
except QctMat.DoesNotExist:
|
||||
qctmat = None
|
||||
except QctMat.MultipleObjectsReturned:
|
||||
|
|
Loading…
Reference in New Issue