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 [ {