diff --git a/db_logic/medicament.py b/db_logic/medicament.py index 176d108..a4adfce 100644 --- a/db_logic/medicament.py +++ b/db_logic/medicament.py @@ -22,6 +22,10 @@ class BllMedicament(Repository): def __init__(self, entityType=EntityMedicament): return super().__init__(entityType) + def update(self, entity): + entity.remark30 = '0' + return super().update(entity) + # 获取离保质期最近的同类药剂 def getDrugNearExpired(self, varietyId, customerId): drugList = self.findList(