屏蔽删除字段

duizhaopin
apan_youxiang@163.com 2 years ago
parent 395cc5d043
commit fc05489bbb

@ -15,15 +15,13 @@ from Common.Utils import Utils
#药剂品种业务逻辑类 #药剂品种业务逻辑类
class BllMedicamentExtend(Repository): class BllMedicamentExtend(Repository):
sql_name = 'rms_medicament_extend'
def __init__(self, entityType=EntityMedicamentExtend): def __init__(self, entityType=EntityMedicamentExtend):
super().__init__(entityType) super().__init__(entityType)
def get_list(self, page_param): def get_list(self, page_param):
sql_all = """ sql_all = """
select * from rms_medicament_extend where is_del=0 order by sort_index select id, name, description,key_lenth, sort_index, is_use from rms_medicament_extend where is_del=0 order by sort_index
""" """
try: try:
count_number = len(self.execute(sql_all).fetchall()) count_number = len(self.execute(sql_all).fetchall())

Loading…
Cancel
Save