Commit 677bb5b6 by 赵宇

fix20220302

parent 8d80c271
...@@ -333,8 +333,8 @@ def recommond(): ...@@ -333,8 +333,8 @@ def recommond():
# select = req_dict.get("select") # 企业地址选择 # select = req_dict.get("select") # 企业地址选择
# 校验参数完整性 # 校验参数完整性
if not all([name]): # if not all([name]):
return jsonify(code=RET.PARAMERR, msg="参数不完整") # return jsonify(code=RET.PARAMERR, msg="参数不完整")
try: try:
enterprise = Enterprise.query.filter(Enterprise.product_all.like("%{}%".format(name))) enterprise = Enterprise.query.filter(Enterprise.product_all.like("%{}%".format(name)))
size = enterprise.count() size = enterprise.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