暂时注释
This commit is contained in:
@@ -22,7 +22,8 @@ def sync(province):
|
||||
index="didata_company",
|
||||
body={"index": {"refresh_interval": "-1"}}
|
||||
)
|
||||
ids = DIDATA_DEV_ELASTIC_CLIENT.scan_by_sql_to_data_frame(f"select company_name, committee from didata_company where province='{province}'")
|
||||
#ids = DIDATA_DEV_ELASTIC_CLIENT.scan_by_sql_to_data_frame(f"select company_name, committee from didata_company where province='{province}'")
|
||||
ids = pd.DataFrame({})
|
||||
if len(ids) > 0:
|
||||
company_ids = ids['_id'].to_list()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user