初步添加自动审核功能

This commit is contained in:
2024-09-24 10:31:40 +08:00
parent f1149854ce
commit 46be9a26be
2 changed files with 80 additions and 10 deletions

View File

@@ -412,17 +412,19 @@ class ZxIeReview(Base):
pk_ie_review = Column(INTEGER(11), primary_key=True, comment='自动审核主键')
pk_phhd = Column(INTEGER(11), nullable=False, comment='报销案子主键')
success = Column(BIT(1))
integrity = Column(BIT(1))
has_settlement = Column(BIT(1))
has_discharge = Column(BIT(1))
has_cost = Column(BIT(1))
full_page = Column(BIT(1))
page_description = Column(String(255), comment='具体缺页描述')
consistency = Column(BIT(1), comment='三项资料一致性。0不一致1一致')
name_match = Column(CHAR(1), server_default=text("'0'"),
comment='三项资料姓名是否一致。0不一致1一致2结算单不一致3出院记录不一致4费用清单不一致5与报销申请对象不一致')
comment='三项资料姓名是否一致。0不一致1一致2结算单不一致3出院记录不一致4费用清单不一致5与报销申请对象不一致')
admission_date_match = Column(CHAR(1), server_default=text("'0'"),
comment='三项资料入院日期是否一致。0不一致1一致2结算单不一致3出院记录不一致4费用清单不一致')
comment='三项资料入院日期是否一致。0不一致1一致2结算单不一致3出院记录不一致4费用清单不一致')
discharge_date_match = Column(CHAR(1), server_default=text("'0'"),
comment='三项资料出院日期是否一致。0不一致1一致2结算单不一致3出院记录不一致4费用清单不一致')
comment='三项资料出院日期是否一致。0不一致1一致2结算单不一致3出院记录不一致4费用清单不一致')
create_time = Column(DateTime, server_default=text("CURRENT_TIMESTAMP"), comment='创建时间')
creator = Column(String(255), comment='创建人')
update_time = Column(DateTime, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"),