From 63002f27c8ac02105d2215df42c7315469c94a2f Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 22 Jan 2026 16:00:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20wmaterial=E6=A0=B9=E6=8D=AEcurrent=5Fme?= =?UTF-8?q?rged=E6=9F=A5=E8=AF=A22?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wpm/filters.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/wpm/filters.py b/apps/wpm/filters.py index 801282ce..fa17132b 100644 --- a/apps/wpm/filters.py +++ b/apps/wpm/filters.py @@ -112,6 +112,7 @@ class WMaterialFilter(filters.FilterSet): wm=OuterRef("pk"), handover__mtype=Handover.H_MERGE, handover__recive_mgroup__id=mgroupxId, + handover__submit_time__isnull=False ) if value is True: return queryset.annotate(_has_merge=Exists(sub_qs)).filter(_has_merge=True)