From 0654966e837c45f848c8af26028174380596baa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Sat, 27 Sep 2025 17:40:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_report/models/report_property.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yuthon_report/models/report_property.py b/yuthon_report/models/report_property.py index dc2673c7e..99d327bd6 100644 --- a/yuthon_report/models/report_property.py +++ b/yuthon_report/models/report_property.py @@ -15,6 +15,8 @@ class YuthonProperty(models.Model): domain.append(("actual_start_time", ">=", params.get("date_start"))) if params.get("date_end"): domain.append(("actual_end_time", "<=", params.get("date_end"))) + + properties = self.search(domain, limit=100) # 构造返回数据列表 return [ {