From bbcd9177c5d82b3ee5e073306537b7de136f0580 Mon Sep 17 00:00:00 2001 From: tangxuan <2233783319@qq.com> Date: Mon, 3 Apr 2023 13:47:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E4=BA=86=E6=9B=B4=E6=94=B9=EF=BC=8C=E5=90=8C?= =?UTF-8?q?=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/medicament_models.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/models/medicament_models.py b/models/medicament_models.py index ba34338..0116dfb 100644 --- a/models/medicament_models.py +++ b/models/medicament_models.py @@ -81,6 +81,10 @@ class EntityMedicament(Base): storage_condition = Column(String(50), comment="存储条件") # 标准品管理分类 storage_type = Column(String(50), comment="标准品管理分类") + # 1是 0否 + is_packing = Column(SmallInteger, default=1, comment="包装是否完好 1是 0否") + is_label = Column(SmallInteger, default=1, comment="标签是否清晰 1是 0否") + is_aspect = Column(SmallInteger, default=1, comment="外观是否符合要求 1是 0否") remark1 = Column(String(50), comment='扩展字段1') remark2 = Column(String(50), comment='扩展字段2') @@ -208,12 +212,8 @@ class EntityMedicamentVariety(Base): create_user_id = Column(String(50), comment="创建用户ID") create_user_name = Column(String(50), comment="创建用户名称") is_add = Column(Integer, comment="", default=0) - # 1是 0否 - is_packing = Column(SmallInteger, default=1, comment="包装是否完好 1是 0否") - is_label = Column(SmallInteger, default=1, comment="标签是否清晰 1是 0否") - is_aspect = Column(SmallInteger, default=1, comment="外观是否符合要求 1是 0否") - remark1 = Column(String(50), comment='扩展字段1 func_type类型') + remark1 = Column(String(50), comment='扩展字段1 func_type类型 1易制毒 2普通危化品 3对照品') remark2 = Column(String(50), comment='扩展字段2') remark3 = Column(String(50), comment='扩展字段3') remark4 = Column(String(50), comment='扩展字段4')