From 377817f04c410f4c0dbec6ca187886e69db92187 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 7 Jul 2023 15:36:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20sflog=E5=A2=9E=E5=8A=A0=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E5=8F=82=E6=95=B0=E5=B7=B2=E8=8E=B7=E5=8F=96=E5=BD=93?= =?UTF-8?q?=E5=89=8D=E5=80=BC=E7=8F=AD=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wpm/filters.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/wpm/filters.py b/apps/wpm/filters.py index 20b4e9c9..20ff785c 100644 --- a/apps/wpm/filters.py +++ b/apps/wpm/filters.py @@ -10,5 +10,6 @@ class SfLogFilter(filters.FilterSet): "team": ["exact"], "leader": ["exact"], "team__belong_dept": ["exact"], - "end_time": ["day", "month", "year"] + "end_time": ["day", "month", "year", "lt"], + "start_time": ["gte"] } \ No newline at end of file