From 6681a261f8e76e1ab7cb7729fec27c3a5c8fecc7 Mon Sep 17 00:00:00 2001 From: tangxuan <2233783319@qq.com> Date: Fri, 24 Mar 2023 09:31:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/medicament_models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/models/medicament_models.py b/models/medicament_models.py index fea5171..302606c 100644 --- a/models/medicament_models.py +++ b/models/medicament_models.py @@ -164,6 +164,7 @@ class EntityMedicamentRecord(Base): is_empty = Column(Integer, comment="是否空瓶") record_remain = Column(Float, default="0.00", comment="药剂使用余量") use_quantity = Column(Float, default="0.00", comment="药剂单次使用量") + use_volume = Column(Float, default="0.00", comment="液体药剂单次使用量 = 药剂单次使用量 / 密度") create_date = Column(String(50), comment="创建日期") create_user_id = Column(String(50), comment="创建人ID") create_user_name = Column(String(50), comment="创建人名称") @@ -184,6 +185,7 @@ class EntityMedicamentVariety(Base): name = Column(String(50), comment="药剂名称") english_name = Column(String(50), comment="英文名称") purity = Column(String(50), comment="纯度") + density = Column(Float, comment="密度(单位g/cm^3)") # Speci = Column(Float) # 规格 # SpeciUnit = Column(String(50)) # 规格单位 # Unit = Column(String(50)) # 单位