Commit fed870df by dong

fix20230316

parent 55961840
......@@ -350,7 +350,7 @@ def create_body(page, page_size, args_query, args_term):
},
"from": page,
"size": page_size,
"sort": [],
"sort": ["hots"],
"aggs": {},
"_source": [
"mysql_id", 'province', 'company_name', 'city', 'district', 'build_date', 'legal', 'capital', 'entype', 'address',
......
......@@ -12,8 +12,8 @@ from apps import db
def handle():
with app.app_context():
company_obj_list = Company.query.all()
# company_obj_list = Enterprise.query.all()
# company_obj_list = Company.query.all()
company_obj_list = Enterprise.query.get(1111)
# print(company_obj_list)
# 读取企业数据表的资质
i = 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment