更新表zx_phhd
This commit is contained in:
@@ -8,12 +8,11 @@ from config.mysql import Base
|
||||
class ZxPhhd(Base):
|
||||
__tablename__ = 'zx_phhd'
|
||||
__table_args__ = (
|
||||
Index('zx_phhd_idx7', 'pk_yljg', 'cjsd_id'),
|
||||
Index('zx_phhd_idx5', 'cStatus', 'checker', 'checktime')
|
||||
Index('zx_phhd_idx3', 'pk_yljg', 'cjsd_id'),
|
||||
)
|
||||
|
||||
pk_phhd = Column(INTEGER(11), primary_key=True, comment='病案主键')
|
||||
cPhhd_id = Column(VARCHAR(20), unique=True, comment='拍一拍单据号')
|
||||
cPhhd_id = Column(VARCHAR(20), index=True, comment='拍一拍单据号')
|
||||
billdate = Column(DateTime, index=True)
|
||||
pk_person = Column(INTEGER(11), server_default=text("'0'"), comment='人员主键')
|
||||
pk_corp = Column(INTEGER(11), index=True, server_default=text("'0'"), comment='单位主键')
|
||||
@@ -49,11 +48,12 @@ class ZxPhhd(Base):
|
||||
problem_note = Column(String(400))
|
||||
depiction = Column(VARCHAR(300), comment='备注')
|
||||
creator = Column(VARCHAR(30), index=True, comment='创建人')
|
||||
creationtime = Column(DateTime, index=True, server_default=text("CURRENT_TIMESTAMP"), comment='创建时间')
|
||||
creationtime = Column(DateTime, server_default=text("CURRENT_TIMESTAMP"), comment='创建时间')
|
||||
modifier = Column(VARCHAR(30), comment='最后修改人')
|
||||
modifiedtime = Column(DateTime, server_default=text("CURRENT_TIMESTAMP"), comment='最后修改时间')
|
||||
cStatus = Column(CHAR(1), server_default=text("'0'"), comment='状态')
|
||||
cStatus = Column(CHAR(1), index=True, server_default=text("'0'"), comment='状态')
|
||||
vercode = Column(VARCHAR(4), comment='版本编码')
|
||||
drg_groups_id = Column(String(6), server_default=text("'2017'"), comment='drg分组器版本号')
|
||||
cSource_flag = Column(VARCHAR(4), server_default=text("'1'"), comment='病案来源')
|
||||
ref_id1 = Column(VARCHAR(20))
|
||||
ref_id2 = Column(VARCHAR(20))
|
||||
@@ -95,10 +95,10 @@ class ZxPhhd(Base):
|
||||
addin_xybz = Column(BIT(1))
|
||||
addin_tybz = Column(BIT(1))
|
||||
finish_flag = Column(BIT(1))
|
||||
exsuccess_flag = Column(BIT(1))
|
||||
exsuccess_flag = Column(CHAR(1), server_default=text("'0'"), comment='交换成功标志')
|
||||
pk_soncorp = Column(INTEGER(11), server_default=text("'0'"), comment='镇下村单位pk值')
|
||||
return_times = Column(INTEGER(11), server_default=text("'0'"), comment='退回次数')
|
||||
phuser_type = Column(CHAR(1), server_default=text("'1'"), comment='拍传人类型(1-自拍,2代拍,3管理员代拍)')
|
||||
phuser_type = Column(CHAR(1), server_default=text("'1'"), comment='拍传人类型')
|
||||
examine_note = Column(VARCHAR(400), comment='抽查意见')
|
||||
examine_user = Column(VARCHAR(30), comment='抽查人')
|
||||
examine_date = Column(DateTime, comment='抽查时间')
|
||||
|
||||
Reference in New Issue
Block a user