Commit 6c5649c5 by dong

fix20230310

parent a42ddc99
......@@ -358,13 +358,13 @@ class CompanyPunish(db.Model):
__table_args__ = ({'comment': '企业表行政处罚'}) # 添加表注释
id = db.Column(db.Integer, primary_key=True, autoincrement=True, comment='信息主键id') # 企业
ent_id = db.Column(db.String(32), comment='企业id')
pub_date = db.Column(db.String(32), comment='公开日期')
pub_date = db.Column(db.String(32), comment='处罚日期')
punish_no = db.Column(db.String(32), comment='处罚日期')
punish_reason = db.Column(db.String(32), comment='决定文书号')
punish_content = db.Column(db.String(32), comment='处罚事由/违法行为类型')
punish_org = db.Column(db.String(32), comment='处罚结果/内容')
sources = db.Column(db.String(32), comment='处罚单位')
punish_no = db.Column(db.String(32), comment='决定文书号')
punish_reason = db.Column(db.String(32), comment='处罚事由')
punish_content = db.Column(db.String(32), comment='处罚结果/内容')
punish_org = db.Column(db.String(32), comment='处罚单位')
sources = db.Column(db.String(32), comment='来源')
# 企业表资质证书
......@@ -490,15 +490,15 @@ class EnterprisePatent(db.Model):
class EnterprisePunish(db.Model):
__tablename_ = "enterprise_punish"
__table_args__ = ({'comment': '全国企业表行政处罚'}) # 添加表注释
id = db.Column(db.Integer, primary_key=True, autoincrement=True, comment='专利信息主键id') # 企业
id = db.Column(db.Integer, primary_key=True, autoincrement=True, comment='信息主键id') # 企业
ent_id = db.Column(db.String(32), comment='企业id')
pub_date = db.Column(db.String(32), comment='公开日期')
pub_date = db.Column(db.String(32), comment='处罚日期')
punish_no = db.Column(db.String(32), comment='处罚日期')
punish_reason = db.Column(db.String(32), comment='决定文书号')
punish_content = db.Column(db.String(32), comment='处罚事由/违法行为类型')
punish_org = db.Column(db.String(32), comment='处罚结果/内容')
sources = db.Column(db.String(32), comment='处罚单位')
punish_no = db.Column(db.String(32), comment='决定文书号')
punish_reason = db.Column(db.String(32), comment='处罚事由')
punish_content = db.Column(db.String(32), comment='处罚结果/内容')
punish_org = db.Column(db.String(32), comment='处罚单位')
sources = db.Column(db.String(32), comment='来源')
# 全国企业表资质证书
......
......@@ -1153,6 +1153,8 @@ def industry_enterprise():
"address": i.address,
"telephone": i.telephone,
"hosts": i.hots,
"industry_chain": i.c_name,
"product_all": i.product_all,
"high_new": '高新技术企业' if i.high_new == '1' else '',
"tbe": '科技型中小企业' if i.tbe == '1' else '',
"quoted_company": '上市企业' if i.quoted_company == '1' 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