feat: mlogbinserializer update也进行支持

This commit is contained in:
caoqianming 2025-03-18 13:58:49 +08:00
parent da3c672dd1
commit 70c415aa1f
1 changed files with 0 additions and 1 deletions

View File

@ -532,7 +532,6 @@ class MlogbInViewSet(CreateModelMixin, UpdateModelMixin, DestroyModelMixin, Cust
perms_map = {'post': 'mlog.update', 'delete': 'mlog.update', 'put': 'mlog.update'}
queryset = Mlogb.objects.filter(material_in__isnull=False)
serializer_class = MlogbInSerializer
update_serializer_class = MlogbInUpdateSerializer
@transaction.atomic
def perform_destroy(self, instance):