diff --git a/dags/poi/business/district_bank.py b/dags/poi/business/district_bank.py index 21f6ebc..64d20db 100644 --- a/dags/poi/business/district_bank.py +++ b/dags/poi/business/district_bank.py @@ -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): """ diff --git a/dags/poi/business/district_bus.py b/dags/poi/business/district_bus.py index 73e2b8f..29237d9 100644 --- a/dags/poi/business/district_bus.py +++ b/dags/poi/business/district_bus.py @@ -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): diff --git a/dags/poi/business/district_hospital.py b/dags/poi/business/district_hospital.py index 402c048..c7b505d 100644 --- a/dags/poi/business/district_hospital.py +++ b/dags/poi/business/district_hospital.py @@ -27,8 +27,8 @@ def deal(city, lng, lat, distance=1000): def do(): - sync1() sync_new() + sync1() def sync_new(distance=3000): log.info("开始执行周边医院配套入库") diff --git a/dags/poi/business/district_school.py b/dags/poi/business/district_school.py index 8c3a2a2..bbf3184 100644 --- a/dags/poi/business/district_school.py +++ b/dags/poi/business/district_school.py @@ -25,8 +25,8 @@ def deal(city, lng, lat, distance=1000): def do(): - sync1() sync_new() + sync1() def sync_new(distance=3000): log.info("开始执行周边教育配套入库") diff --git a/dags/poi/business/district_subway.py b/dags/poi/business/district_subway.py index 1cdaceb..a363826 100644 --- a/dags/poi/business/district_subway.py +++ b/dags/poi/business/district_subway.py @@ -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("开始执行周边地铁配套入库") diff --git a/dags/poi/business/district_supermarket.py b/dags/poi/business/district_supermarket.py index 17a8f4a..ca03698 100644 --- a/dags/poi/business/district_supermarket.py +++ b/dags/poi/business/district_supermarket.py @@ -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("开始执行周边商场配套入库")