This commit is contained in:
zlwu committed 2026-05-23 11:41:57 +08:00
1 parent 19de2040d0
commit 3779de12ce
78 files changed
+23068 -13824

No files matched your search

+33
View File
@@ -761,6 +761,39 @@ class BizProtocolAudit(Base):
del_flag = Column(SmallInteger, nullable=False, default=0, comment="删除标记")
class BizStorageReleaseReview(Base):
"""入库放行审核 biz_storage_release_review"""
__tablename__ = "biz_storage_release_review"
id = Column(String(64), primary_key=True, comment="主键ID")
sample_code = Column(String(64), nullable=False, comment="样本编码")
reception_source = Column(String(32), nullable=False, comment="来源类型 cell_storage细胞存储 research_donation科研捐赠")
protocol_id = Column(String(64), nullable=True, comment="协议单ID")
reception_id = Column(String(64), nullable=True, comment="接收记录ID")
protocol_no = Column(String(64), nullable=True, comment="协议编号快照")
sample_name = Column(String(128), nullable=True, comment="样本名称")
review_conclusion = Column(String(16), nullable=True, comment="审核结论 tg通过 btg不通过")
review_remark = Column(String(512), nullable=True, comment="审核备注")
review_attachments = Column(String(4000), nullable=True, comment="审核附件(逗号分隔URL)")
review_by = Column(String(64), nullable=True, comment="审核人ID")
review_by_name = Column(String(64), nullable=True, comment="审核人姓名")
review_time = Column(DateTime, nullable=True, comment="审核时间")
storage_status = Column(String(16), nullable=False, default="drk", comment="入库状态 drk待入库 yrk已入库")
storage_by = Column(String(64), nullable=True, comment="入库操作人ID")
storage_by_name = Column(String(64), nullable=True, comment="入库操作人姓名")
storage_time = Column(DateTime, nullable=True, comment="入库时间")
tenant_no = Column(String(64), nullable=False, default="", comment="租户编号")
order_num = Column(Integer, nullable=True, comment="排序号")
remark = Column(String(512), nullable=True, comment="备注")
create_by = Column(String(64), nullable=True, comment="创建人id")
create_dept_id = Column(String(64), nullable=False, default="", comment="创建人部门ID")
create_time = Column(DateTime, nullable=False, default=datetime.now, comment="创建时间")
update_by = Column(String(64), nullable=True, comment="更新人id")
update_time = Column(DateTime, nullable=False, default=datetime.now, onupdate=datetime.now, comment="更新时间")
del_flag = Column(SmallInteger, nullable=False, default=0, comment="删除标记")
class BizProtocolPayment(Base):
"""采集协议单-缴费主表 biz_protocol_payment"""