|
|
@ -30,4 +30,10 @@ class BllMedicamentExtend(Repository):
|
|
|
|
|
|
|
|
|
|
|
|
page_param.totalRecords=count_number
|
|
|
|
page_param.totalRecords=count_number
|
|
|
|
page_sql = Utils.sql_paging_assemble(sql_all, page_param)
|
|
|
|
page_sql = Utils.sql_paging_assemble(sql_all, page_param)
|
|
|
|
return self.execute(page_sql)
|
|
|
|
return self.execute(page_sql).fetchall()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def get_use_list(self):
|
|
|
|
|
|
|
|
sql_all = """
|
|
|
|
|
|
|
|
select id, name, description,key_lenth, sort_index, is_use from rms_medicament_extend where is_del=0 and is_use=1 order by sort_index
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
return self.execute(sql_all).fetchall()
|