修复bug
This commit is contained in:
@@ -113,11 +113,11 @@ def sync(city=None):
|
||||
sql += " and city='" + city + "'"
|
||||
community_df = es206_client.scan_by_sql_to_data_frame(sql)
|
||||
|
||||
community_factor_df = complete_by_area(community_df)
|
||||
complete_by_build_year_area(community_factor_df)
|
||||
complete_by_region_area(community_factor_df)
|
||||
|
||||
save(community_factor_df)
|
||||
if len(community_df) > 0:
|
||||
community_factor_df = complete_by_area(community_df)
|
||||
complete_by_build_year_area(community_factor_df)
|
||||
complete_by_region_area(community_factor_df)
|
||||
save(community_factor_df)
|
||||
|
||||
log.info(f"完成补全户均总价信息至206 {index_name}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user