This commit is contained in:
沈健
2025-06-05 17:22:32 +08:00
parent 4bb93c977f
commit 49a387f9ed
@@ -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()