试剂管理排序规则改变

duizhaopin
apan_youxiang@163.com 2 years ago
parent 368e3003b8
commit 635e80671e

@ -113,7 +113,7 @@ class BllMedicament(Repository):
filter_base += " and " filter_base += " and "
filter_base += f" `name` like '{seach_word}' or english_name like '{seach_word}' " filter_base += f" `name` like '{seach_word}' or english_name like '{seach_word}' "
sql_all = f""" sql_all = f"""
select * from rms_medicament {filter_base} select * from rms_medicament {filter_base} order by put_in_date desc
""" """
try: try:
count_number = len(self.execute(sql_all).fetchall()) count_number = len(self.execute(sql_all).fetchall())

Loading…
Cancel
Save