传参改为city
This commit is contained in:
@@ -96,7 +96,7 @@ def sync(city=None):
|
||||
|
||||
sql = f"select id from {index_name} "
|
||||
if pd.notna(city):
|
||||
sql += f" from city={city}"
|
||||
sql += f" where city='{city}'"
|
||||
community_summary_df = es206_client.scan_by_sql_to_data_frame(sql)
|
||||
seaweed_df['_id'] = seaweed_df['_id'].astype(str)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user