From f21f3e01ca54d3db15bd22ccf7a3ead7e1409ef3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E5=B9=B2?= Date: Thu, 8 Mar 2018 11:02:34 +0800 Subject: [PATCH] =?UTF-8?q?=09=E4=BF=AE=E6=94=B9=EF=BC=9A=20=20=20=20=20Pr?= =?UTF-8?q?iceSystem/sell=5Fprice/zhuge0118A.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PriceSystem/sell_price/zhuge0118A.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PriceSystem/sell_price/zhuge0118A.py b/PriceSystem/sell_price/zhuge0118A.py index 2355355..3ba7dba 100644 --- a/PriceSystem/sell_price/zhuge0118A.py +++ b/PriceSystem/sell_price/zhuge0118A.py @@ -100,7 +100,7 @@ def commonprice(ct, rl, p): def some_district_information(ct, rl, lk): - query = {"city": ct, "cat": "sell", "region": rl,杨王村公寓 + query = {"city": ct, "cat": "sell", "region": rl, "district_name": {"$in": lk}, "p_date": {"$gt": some_district_information_time}} @@ -108,7 +108,7 @@ def commonprice(ct, rl, p): fields1 = {'total_price':1, 'area':1, 'region':1, 'district_name':1, 'url':1, 'p_date':1} - return fangjia.findHouse(query) + return fangjia.findHouse(query,fields1) """ return fangjia.find_house_from_elastic_search(ct, rl, lk, "lianjia.com", some_district_information_time)