diff --git a/dags/business/business/grid_price.py b/dags/business/business/grid_price.py index b124564..99fc330 100644 --- a/dags/business/business/grid_price.py +++ b/dags/business/business/grid_price.py @@ -61,7 +61,7 @@ def sync(city): avg_price_df = avg_price_df[['city', 'region', 'district_name', 'avg_price']] avg_price_df = avg_price_df.rename(columns={'district_name': 'name'}) - comm_df = es206_client.scan_by_sql_to_data_frame(f"select id, city, region, name, estate_type, location from community_summary where city='{city}' ") + comm_df = es206_client.scan_by_sql_to_data_frame(f"select id, city, region, name, estate_type, location from community_summary where city='{curr_city}' ") def deal_lng_lat(x): location = x['location']