添加日志
This commit is contained in:
@@ -52,6 +52,7 @@ def calcByOffice(city, district, office_name):
|
|||||||
query['region'] = district
|
query['region'] = district
|
||||||
if pd.notna(city):
|
if pd.notna(city):
|
||||||
query['name'] = office_name
|
query['name'] = office_name
|
||||||
|
print(query)
|
||||||
office = seaweed_df.find_one(query, {'city': 1, 'region': 1, 'name': 1, 'alias': 1, 'lng': 1, 'lat': 1, 'estate_type2': 1, 'bed_kind': 1})
|
office = seaweed_df.find_one(query, {'city': 1, 'region': 1, 'name': 1, 'alias': 1, 'lng': 1, 'lat': 1, 'estate_type2': 1, 'bed_kind': 1})
|
||||||
if 'estate_type2' not in office:
|
if 'estate_type2' not in office:
|
||||||
office['estate_type2'] = None
|
office['estate_type2'] = None
|
||||||
|
|||||||
Reference in New Issue
Block a user