From 9ede95a5d643f81e9499e721414aa881dc8c2e55 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 4 Jun 2025 10:19:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20batchst=20=E6=B7=BB=E5=8A=A0first=5Ftim?= =?UTF-8?q?e=20isnull=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wpm/filters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/wpm/filters.py b/apps/wpm/filters.py index 11280cc5..cb28bdb3 100644 --- a/apps/wpm/filters.py +++ b/apps/wpm/filters.py @@ -197,8 +197,8 @@ class BatchStFilter(filters.FilterSet): fields = { "batch": ["exact", "contains", "startswith"], "version": ["exact", "gte", "lte"], - "first_time": ["exact", "gte", "lte"], - "last_time": ["exact", "gte", "lte"], + "first_time": ["exact", "gte", "lte", "isnull"], + "last_time": ["exact", "gte", "lte", "isnull"], "update_time": ["exact", "gte", "lte"], "material_start": ["exact"], "material_start__cate": ["exact"],