Merge branch 'main' of git.opencomputing.cn:yumoqing/kboss
This commit is contained in:
commit
ace2d675c3
@ -4,7 +4,7 @@ async def search_user_inquiry_dict(ns={}):
|
||||
where_sql = "where status = 1"
|
||||
if ns.get('dict_type'):
|
||||
where_sql += " and dict_type = '%s'" % ns.get('dict_type')
|
||||
search_sql = """select id, dict_type, dict_key, dict_value, sort_order from product_inquiry_dict %s order by dict_type asc, sort_order asc;""" % where_sql
|
||||
search_sql = """select * from product_inquiry_dict %s order by dict_type asc, sort_order asc;""" % where_sql
|
||||
result = await sor.sqlExe(search_sql, {})
|
||||
return {
|
||||
'status': True,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user