Commit 77310732 by dong

fix20230319

parent 552480b8
......@@ -1234,7 +1234,7 @@ def get_enterprise_patent():
company_id = enterprise.company_id
if not company_id:
return jsonify(code=RET.NODATA, msg='无关联信息')
data_info9 = EnterprisePatent.query.filter_by(ent_id=company_id).all()
data_info9 = EnterprisePatent.query.filter_by(ent_id=company_id).limit(10)
if not data_info9:
return jsonify(code=RET.NODATA, msg="专利信息无数据")
data = [{
......
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