diff --git a/db_logic/medicament.py b/db_logic/medicament.py index a4adfce..3746810 100644 --- a/db_logic/medicament.py +++ b/db_logic/medicament.py @@ -222,6 +222,7 @@ class BllMedicament(Repository): # 创建事务 self.beginTrans() + entityDrug.remark30 = '0' self.session.add(entityDrug) if entityDrug.status == 1: self.session.add(entityDrugRecord) @@ -233,6 +234,7 @@ class BllMedicament(Repository): def drugUse(self, entityDrug=EntityMedicament(), entityClient=EntityClient(), entityUser=EntityUser()): #创建事务 self.beginTrans() + entityDrug.remark30 = '0' self.session.merge(entityDrug) entityDrugRecord = EntityMedicamentRecord( customer_id=entityClient.customer_id, @@ -261,6 +263,7 @@ class BllMedicament(Repository): def drugReturn(self, entityDrug=EntityMedicament(), entityClient=EntityClient(), entityUser=EntityUser()): #创建事务 self.beginTrans() + entityDrug.remark30 = '0' self.session.merge(entityDrug) drug = BllMedicament().findEntity(entityDrug.medicament_id)