Commit f1b9f78b by dong

fix

parent 802ee7a5
...@@ -108,8 +108,8 @@ def get_product_li(product, chain_id): ...@@ -108,8 +108,8 @@ def get_product_li(product, chain_id):
def handle(): def handle():
with app.app_context(): with app.app_context():
industry_obj_list = IndustryChain.query.all() # industry_obj_list = IndustryChain.query.all()
# industry_obj_list = IndustryChain.query.filter(IndustryChain.id == 604).all() industry_obj_list = IndustryChain.query.filter(IndustryChain.chain_id == 9).all()
# print(industry_obj_list) # print(industry_obj_list)
# 读取industry_chain数据表的产业名称 # 读取industry_chain数据表的产业名称
for industry_obj in industry_obj_list: for industry_obj in industry_obj_list:
......
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