|
|
|
@ -15,15 +15,13 @@ from Common.Utils import Utils
|
|
|
|
|
|
|
|
|
|
#药剂品种业务逻辑类
|
|
|
|
|
class BllMedicamentExtend(Repository):
|
|
|
|
|
|
|
|
|
|
sql_name = 'rms_medicament_extend'
|
|
|
|
|
def __init__(self, entityType=EntityMedicamentExtend):
|
|
|
|
|
super().__init__(entityType)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def get_list(self, page_param):
|
|
|
|
|
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:
|
|
|
|
|
count_number = len(self.execute(sql_all).fetchall())
|
|
|
|
|