暂时写死
This commit is contained in:
@@ -24,7 +24,6 @@ bank_typecode = ["160100", "160101", "160102", "160103", "160104", "160105", "16
|
||||
"160144",
|
||||
"160145", "160146", "160147", "160148", "160149", "160150", "160151", "160152", "160200"]
|
||||
|
||||
|
||||
def find_around_by_location(city, location):
|
||||
"""
|
||||
查找周边poi
|
||||
@@ -84,8 +83,8 @@ def deal(city, lng, lat):
|
||||
def do():
|
||||
log.info("开始执行周边银行配套入库")
|
||||
city_dict = list(server_area_conn.find({'city_grade': {'$ne': 0}}, {'display': 1}))
|
||||
for city_item in city_dict:
|
||||
city = city_item['display']
|
||||
for city_item in ["哈尔滨市","齐齐哈尔市","大庆市","牡丹江市","佳木斯市","绥化市","鸡西市","七台河市","双鸭山市","鹤岗市","黑河市","伊春市","大兴安岭地区"]:
|
||||
city = city_item
|
||||
log.info('开始查找' + city + '周边银行')
|
||||
seaweed_df = pd.DataFrame(
|
||||
list(seaweed_conn.find({'city': city, 'cat': 'district', 'status': 0, 'lng': {'$ne': None}},
|
||||
|
||||
Reference in New Issue
Block a user