修改: PriceSystem/rent_price/district_map0413.py
修改: PriceSystem/rent_test.py
This commit is contained in:
@@ -1021,7 +1021,7 @@ def save_to_mongo(ct,rl,lk,timd,timm):
|
|||||||
"avg_price":mm, "c_date":date,"weekend":timme,"cat":'district'})
|
"avg_price":mm, "c_date":date,"weekend":timme,"cat":'district'})
|
||||||
save_lg=client136.fangjia_stat.rent_1221
|
save_lg=client136.fangjia_stat.rent_1221
|
||||||
"""
|
"""
|
||||||
if type(mm)!=str:
|
if type(mm)!=str and mm!=None:
|
||||||
|
|
||||||
mm=float(mm)
|
mm=float(mm)
|
||||||
#get_sqm_rentprice_db()
|
#get_sqm_rentprice_db()
|
||||||
|
|||||||
@@ -17,9 +17,9 @@ def get_weekend(tt):
|
|||||||
weekend = get_weekend('20180415')
|
weekend = get_weekend('20180415')
|
||||||
|
|
||||||
ct='上海'
|
ct='上海'
|
||||||
rl='宝山'
|
rl='奉贤'
|
||||||
lk='水上新村'#上海闵行闵浦新苑一村普陀曹杨一村上海北京东城左安漪园
|
lk='海岸景苑'#上海闵行闵浦新苑一村普陀曹杨一村上海北京东城左安漪园
|
||||||
#黄浦伯爵居静安泰安里长宁新泾北苑
|
#黄浦伯爵居静安泰安里长宁新泾北苑上海奉贤海岸景苑
|
||||||
timm=20180430
|
timm=20180430
|
||||||
timd=20160603
|
timd=20160603
|
||||||
a=time.time()
|
a=time.time()
|
||||||
|
|||||||
Reference in New Issue
Block a user