From 62fae4ceace4da62064b9bca20f8db5f5421a688 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 5 Dec 2024 15:09:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20mpoint=E5=A2=9E=E5=8A=A0=E7=AD=9B?= =?UTF-8?q?=E9=80=89=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/enm/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/enm/views.py b/apps/enm/views.py index a3fb1232..7f9e84c9 100644 --- a/apps/enm/views.py +++ b/apps/enm/views.py @@ -39,7 +39,7 @@ class MpointViewSet(CustomModelViewSet): "enabled": ["exact"], "need_display": ["exact"], "formula": ["exact", "contains"], - "material": ["exact"], + "material": ["exact", "isnull"], "material__code": ["exact", "in"], "code": ["exact", "contains", "in"], }