添加功能
This commit is contained in:
@@ -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 [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user