试剂搜索

duizhaopin
apan_youxiang@163.com 2 years ago
parent 75cbd61fb7
commit 6ebd4386d0

@ -112,6 +112,8 @@ class BllMedicament(Repository):
if filter_base:
filter_base += " and "
filter_base += f" `name` like '{seach_word}' or english_name like '{seach_word}' "
if filter_base:
filter_base = f" where {filter_base}"
sql_all = f"""
select * from rms_medicament {filter_base} order by put_in_date desc
"""

Loading…
Cancel
Save