From e521d781e31ce7bbe3b3f850da2e46f3698e6166 Mon Sep 17 00:00:00 2001 From: zlwu <704541015@qq.com> Date: Fri, 9 Oct 2026 12:32:18 +0800 Subject: [PATCH] fix(db): keep storage-cert QC model commit free of unrelated model edits. Co-authored-by: Cursor --- backend/app/models/models.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/backend/app/models/models.py b/backend/app/models/models.py index 912ada1d..83bf266d 100644 --- a/backend/app/models/models.py +++ b/backend/app/models/models.py @@ -334,10 +334,6 @@ class BizCustomer(Base): sex = Column(CHAR(1), nullable=True, default="2", comment="性别(0男1女2未知)") id_card_no = Column(String(32), nullable=True, comment="身份证号") age = Column(Integer, nullable=True, comment="年龄") - birth_ym = Column(CHAR(6), nullable=True, comment="出生年月YYYYMM") - ethnic = Column(String(32), nullable=True, comment="民族") - email = Column(String(128), nullable=True, comment="邮箱") - address = Column(String(512), nullable=True, comment="家庭住址") phone_no = Column(String(32), nullable=True, comment="联系电话") customer_tags = Column(String(512), nullable=True, comment="客户标签,逗号分隔") tenant_no = Column(String(64), nullable=False, default="zkxw", comment="租户编号") @@ -1500,8 +1496,7 @@ class BizProtocolCollectionInfo(Base): region_id = Column(String(64), nullable=True, comment="区域ID") hospital_id = Column(String(64), nullable=True, comment="医院ID") medical_staff = Column(String(200), nullable=True, comment="医护人员") - sales_user_id = Column(String(64), nullable=True, comment="市场专员用户ID") - region_manager_user_id = Column(String(64), nullable=True, comment="地区经理用户ID") + sales_user_id = Column(String(64), nullable=True, comment="销售人员用户ID") sample_collect_time = Column(DateTime, nullable=True, comment="样本采集时间") maternal_blood_collect_time = Column(DateTime, nullable=True, comment="母血采集时间") tenant_no = Column(String(64), nullable=False, default="zkxw", comment="租户编号") @@ -1582,7 +1577,6 @@ class BizSampleFreight(Base): __tablename__ = "biz_sample_freight" id = Column(String(64), primary_key=True, comment="主键ID") - freight_no = Column(String(32), nullable=False, default="", comment="运费批次号 YF+YYYYMMDD+序号") transport_mode = Column(String(100), nullable=False, default="", comment="运输方式字典值") freight_amount = Column(Numeric(18, 2), nullable=False, default=0, comment="运费(元)") tenant_no = Column(String(64), nullable=False, default="zkxw", comment="租户编号")