Commit 5f68cf03 by dong

fix202302013

parent 8f8224fa
......@@ -1004,13 +1004,11 @@ def industry_enterprise():
Company.status == status if status else text('')
)
# if industry_level == 1:
# company = company.filter(Company.c_type == inid)
company = company.filter(Company.c_type == inid)
# else:
if product:
company = company.filter(Company.product_all.like("%{}%".format(product)),
Company.c_type == inid
)
company = company.filter(Company.product_all.like("%{}%".format(product)))
company = company.filter(
Company.high_new == '1' if aptitude == '高新技术企业' else text(''),
Company.tbe == '1' if aptitude == '科技型中小企业' else text(''),
......
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