优化
This commit is contained in:
@@ -17,6 +17,7 @@ def sync(province):
|
||||
shape_df = DIDATA_DEV_ELASTIC_CLIENT.scan_by_sql_to_data_frame(f"select city_name, area_name, street_name, name, shape from community where province_name='{province}' ")
|
||||
if len(shape_df) == 0:
|
||||
log.info(f"{province}无围栏数据")
|
||||
return
|
||||
actions = list()
|
||||
count = 0
|
||||
errors = list()
|
||||
|
||||
Reference in New Issue
Block a user