Commit 5af42a53 by ma_dev

none bug

parent 2db43668
...@@ -1252,7 +1252,7 @@ def radar_enums(): ...@@ -1252,7 +1252,7 @@ def radar_enums():
# nums_all = enterprise.count() # 企业总数 # nums_all = enterprise.count() # 企业总数
industry_obj = IndustryChain.query.filter_by(industry_name=product).first() industry_obj = IndustryChain.query.filter_by(industry_name=product).first()
nums_all = industry_obj.enterprise_num if industry_obj.enterprise_num else enterprise.count() nums_all = industry_obj.enterprise_num if industry_obj else enterprise.count()
nums_dengl = enterprise.filter_by(dengl="1").count() # 瞪羚企业 nums_dengl = enterprise.filter_by(dengl="1").count() # 瞪羚企业
nums_hignew = enterprise.filter_by(high_new="1").count() # 高新技术企业 nums_hignew = enterprise.filter_by(high_new="1").count() # 高新技术企业
......
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