Commit 370fc044 by dong

fix20221210

parent 5e7586e9
...@@ -491,7 +491,7 @@ def industry_policy(): ...@@ -491,7 +491,7 @@ def industry_policy():
if policy_level == 1: # 国家级 if policy_level == 1: # 国家级
indu_policy = InduPolicy.query.filter( indu_policy = InduPolicy.query.filter(
InduPolicy.navigat.like("%{}%".format(name)), InduPolicy.navigat.like("%{}%".format(name)),
InduPolicy.level == "国家", InduPolicy.level == "国家",
InduPolicy.org == policy_type if policy_type != '全部' else text(''), InduPolicy.org == policy_type if policy_type != '全部' else text(''),
InduPolicy.year == policy_year if policy_year else text(''), InduPolicy.year == policy_year if policy_year else text(''),
InduPolicy.name.like('%{}%'.format(policy_name)) InduPolicy.name.like('%{}%'.format(policy_name))
......
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