Commit 9d24d6f1 by dong

fix20230308

parent d5aefa9a
......@@ -1522,7 +1522,7 @@ class CarrierLand(db.Model):
tax = db.Column(db.String(20), comment='地均税收(万元/亩)')
linkman = db.Column(db.String(20), comment='联系人')
telephone = db.Column(db.String(20), comment='联系方式')
price_url = db.Column(db.String(20), comment='用地红线图')
price_url = db.Column(db.String(255), comment='用地红线图')
other_requirements = db.Column(db.String(20), comment='其他要求')
......
......@@ -1166,7 +1166,7 @@ def newList1():
perpage = req_dict.get("perpage")
name = req_dict.get("name")
name_query = "enterList" + str(inid) + str("".join(area)) + str(product) + str(select) + name
name_query = "enterList" + str(inid) + str(page) + str("".join(area)) + str(product) + str(select) + name
if redis_store.get(name_query) is not None:
data = json.loads(redis_store.get(name_query))
return jsonify(code=RET.OK, msg="获取成功", data=data)
......@@ -1224,6 +1224,7 @@ def newList1():
enters = enterprise.order_by(enterprise.hots.desc()).paginate(page, perpage).items
enter = [{"id": i.id,
"name": i.company_name,
"hots": i.hots,
"industry": i.company_industry if i.company_industry else "-", # 行业
"build_date": str(i.build_date)[:10] if i.build_date else "-", # 时间
"capital": i.capital if i.capital else "-", # 注册资本
......
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