Commit aa49c999 by dong

fix20221211

parent ac6fac89
......@@ -471,9 +471,9 @@ def search_project():
SikuProject.investor_name.like('%{}%'.format(investor_name)) if investor_name else text(''),
SikuProject.investor_district.like('%{}%'.format(investor_district)) if investor_district else text(''),
SikuProject.project_type.in_(project_type_list) if project_type_list else SikuProject.project_type.like('%{}%'.format(project_type)) if project_type else text(''),
SikuProject.investment_volume >= float(investment_volume_list[0]) if investment_volume_list else text(''),
SikuProject.investment_volume > float(investment_volume_list[0]) if investment_volume_list else text(''),
SikuProject.investment_volume <= float(investment_volume_list[1]) if investment_volume_list else text(''),
SikuProject.investment_volume >= float(investment_volume[0]) if investment_volume and not investment_volume_list else text(''),
SikuProject.investment_volume > float(investment_volume[0]) if investment_volume and not investment_volume_list else text(''),
SikuProject.investment_volume <= float(investment_volume[1]) if investment_volume and not investment_volume_list else text(''),
SikuProject.project_year >= project_year_list[0] if project_year_list else text(''),
SikuProject.project_year <= project_year_list[1] if project_year_list 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