Commit 7e5c46cb by dong

fix20230202

parent ee495050
...@@ -358,7 +358,7 @@ def search_all(): ...@@ -358,7 +358,7 @@ def search_all():
return jsonify(code=RET.PARAMERR, msg="选择选址偏好时,必须选择所属行业!") return jsonify(code=RET.PARAMERR, msg="选择选址偏好时,必须选择所属行业!")
industry_id = '' industry_id = ''
if industry_name: if industry_name:
industry_id = IndustryChain.query.fliter(industry_name=industry_name).first().id industry_id = IndustryChain.query.filter_by(industry_name=industry_name).first()
if not district_name: if not district_name:
district_name = get_district_name(token) district_name = get_district_name(token)
......
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