修复bug

This commit is contained in:
shenjian@fangjia.com
2023-02-21 10:40:33 +08:00
parent f76043e0e3
commit 544ab4fea9
@@ -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}")