添加表zx_ie_ocrerror
This commit is contained in:
47
db/mysql.py
47
db/mysql.py
@@ -312,3 +312,50 @@ class ZxPhrec(Base):
|
|||||||
unsharp_flag = Column(BIT(1))
|
unsharp_flag = Column(BIT(1))
|
||||||
judge_backup = Column(String(40))
|
judge_backup = Column(String(40))
|
||||||
ps_flag = Column(CHAR(1), server_default=text("'0'"), comment='图片是否ps过(0-无,1-ps过)')
|
ps_flag = Column(CHAR(1), server_default=text("'0'"), comment='图片是否ps过(0-无,1-ps过)')
|
||||||
|
|
||||||
|
|
||||||
|
class ZxIeOcrerror(Base):
|
||||||
|
__tablename__ = 'zx_ie_ocrerror'
|
||||||
|
__table_args__ = (
|
||||||
|
Index('imp_zx_phrec_idx1', 'pk_phhd', 'cfjaddress'),
|
||||||
|
)
|
||||||
|
|
||||||
|
pk_phrec = Column(INTEGER(11), primary_key=True, comment='病案清主键')
|
||||||
|
pk_phhd = Column(INTEGER(11), comment='病案主键')
|
||||||
|
cRectype = Column(CHAR(1), comment='记录类型(1-入院小结,2--出院小结,3--手术记录 4清单)')
|
||||||
|
rowno = Column(TINYINT(4), server_default=text("'1'"), comment='序号')
|
||||||
|
cXm = Column(VARCHAR(12), comment='姓名')
|
||||||
|
cSfzh = Column(String(20), comment='身份证号')
|
||||||
|
cfjaddress = Column(String(200), comment='附件地址')
|
||||||
|
cfjaddress2 = Column(String(500), comment='附件地址2')
|
||||||
|
cfjaddress3 = Column(String(500), comment='附件地址3')
|
||||||
|
cfjblob = Column(LargeBinary, comment='附件')
|
||||||
|
cfjblob2 = Column(LargeBinary, comment='附件2')
|
||||||
|
cfjblob3 = Column(LargeBinary, comment='附件3')
|
||||||
|
subsys_id = Column(String(4), comment='分系统代码')
|
||||||
|
depiction = Column(String(100), comment='备注')
|
||||||
|
isreupload = Column(CHAR(1), server_default=text("'0'"))
|
||||||
|
checker = Column(String(10), comment='创建人')
|
||||||
|
checktime = Column(DateTime, comment='创建时间')
|
||||||
|
creator = Column(String(30), comment='创建人')
|
||||||
|
creationtime = Column(DateTime, index=True, server_default=text("CURRENT_TIMESTAMP"), comment='创建时间')
|
||||||
|
modifier = Column(String(30), comment='最后修改人')
|
||||||
|
modifiedtime = Column(DateTime, comment='最后修改时间')
|
||||||
|
cSource_flag = Column(String(4), server_default=text("'1'"), comment='病案来源')
|
||||||
|
cStatus = Column(CHAR(1), server_default=text("'0'"), comment='状态')
|
||||||
|
link_flag = Column(CHAR(1), server_default=text("'1'"), comment='是否采用链接')
|
||||||
|
filetype_id = Column(String(10), server_default=text("'jpg'"), comment='文件类型id')
|
||||||
|
cmiss_flag = Column(INTEGER(4), server_default=text("'0'"), comment='遗漏补拍标记')
|
||||||
|
paint_flag = Column(CHAR(1), server_default=text("'0'"), comment='涂抹标志')
|
||||||
|
paint_user = Column(String(30))
|
||||||
|
paint_date = Column(DateTime)
|
||||||
|
byz_xmbz_flag = Column(BIT(1))
|
||||||
|
byz_zyrqcyjl_flag = Column(BIT(1))
|
||||||
|
byz_zyhcyjl_flag = Column(BIT(1))
|
||||||
|
byz_ftyccyjl_flag = Column(BIT(1))
|
||||||
|
byz_ftycfyqd_flag = Column(BIT(1))
|
||||||
|
byz_ftycjsd_flag = Column(BIT(1))
|
||||||
|
unsharp_flag = Column(BIT(1))
|
||||||
|
judge_backup = Column(String(40))
|
||||||
|
ps_flag = Column(CHAR(1), server_default=text("'0'"), comment='图片是否ps过(0-无,1-ps过)')
|
||||||
|
cPhhd_id = Column(String(20), comment='拍一拍单据号')
|
||||||
|
|||||||
Reference in New Issue
Block a user