Commit 522f2340 by dong

fix20221205

parent 85eb2121
......@@ -159,7 +159,7 @@ def industry_enterprise():
company = Company.query.filter_by(c_type=inid, city="晋城市")
if product:
company = Company.query.filter(Company.product.like("%{}%".format(product)))
company = Company.query.filter(Company.c_name.like("%{}%".format(product)))
size = company.count()
companys = company.order_by(Company.hots.desc()).paginate(page, perpage).items # 企业热度倒序
......
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