调整顺序
This commit is contained in:
@@ -32,8 +32,8 @@ def deal(city, lng, lat, distance=1000):
|
||||
return poiutils.find_around_by_location(city, location, bank_typecode, distance)
|
||||
|
||||
def do():
|
||||
sync1()
|
||||
sync_new()
|
||||
sync1()
|
||||
|
||||
def sync_new(distance=3000):
|
||||
"""
|
||||
|
||||
@@ -23,8 +23,8 @@ def deal(city, lng, lat, distance=1000):
|
||||
return poiutils.find_around_by_location(city, location, bus_typecode, distance)
|
||||
|
||||
def do():
|
||||
sync1()
|
||||
sync_new()
|
||||
sync1()
|
||||
|
||||
|
||||
def sync_new(distance=3000):
|
||||
|
||||
@@ -27,8 +27,8 @@ def deal(city, lng, lat, distance=1000):
|
||||
|
||||
|
||||
def do():
|
||||
sync1()
|
||||
sync_new()
|
||||
sync1()
|
||||
|
||||
def sync_new(distance=3000):
|
||||
log.info("开始执行周边医院配套入库")
|
||||
|
||||
@@ -25,8 +25,8 @@ def deal(city, lng, lat, distance=1000):
|
||||
|
||||
|
||||
def do():
|
||||
sync1()
|
||||
sync_new()
|
||||
sync1()
|
||||
|
||||
def sync_new(distance=3000):
|
||||
log.info("开始执行周边教育配套入库")
|
||||
|
||||
@@ -24,8 +24,8 @@ def deal(city, lng, lat, distance=1000):
|
||||
return subway_df
|
||||
|
||||
def do():
|
||||
sync1()
|
||||
sync_new()
|
||||
sync1()
|
||||
|
||||
def sync_new(distance=3000):
|
||||
log.info("开始执行周边地铁配套入库")
|
||||
|
||||
@@ -25,8 +25,8 @@ def deal(city, lng, lat, distance=1000):
|
||||
return supermarket_df
|
||||
|
||||
def do():
|
||||
sync1()
|
||||
sync_new()
|
||||
sync1()
|
||||
|
||||
def sync_new():
|
||||
log.info("开始执行周边商场配套入库")
|
||||
|
||||
Reference in New Issue
Block a user