From b7e003220bb46a166eb7bc3b1cbfe86728c24e27 Mon Sep 17 00:00:00 2001 From: zlwu <704541015@qq.com> Date: Wed, 19 Aug 2026 11:30:30 +0800 Subject: [PATCH] feat: add production and QC review columns on storage release model. Co-authored-by: Cursor --- backend/app/models/models.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/backend/app/models/models.py b/backend/app/models/models.py index f52f66ef..a8da9cac 100644 --- a/backend/app/models/models.py +++ b/backend/app/models/models.py @@ -1060,6 +1060,18 @@ class BizStorageReleaseReview(Base): 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="审核时间") + qc_review_conclusion = Column(String(16), nullable=True, comment="质检侧结论 tg通过 btg不通过") + qc_review_remark = Column(String(512), nullable=True, comment="质检侧审核备注") + qc_review_attachments = Column(String(4000), nullable=True, comment="质检侧审核附件(逗号分隔URL)") + qc_review_by = Column(String(64), nullable=True, comment="质检侧审核人ID") + qc_review_by_name = Column(String(64), nullable=True, comment="质检侧审核人姓名") + qc_review_time = Column(DateTime, nullable=True, comment="质检侧审核时间") + prod_review_conclusion = Column(String(16), nullable=True, comment="生产侧结论 tg通过 btg不通过") + prod_review_remark = Column(String(512), nullable=True, comment="生产侧审核备注") + prod_review_attachments = Column(String(4000), nullable=True, comment="生产侧审核附件(逗号分隔URL)") + prod_review_by = Column(String(64), nullable=True, comment="生产侧审核人ID") + prod_review_by_name = Column(String(64), nullable=True, comment="生产侧审核人姓名") + prod_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="入库操作人姓名")