Compare commits
2 Commits
81964ebf24
...
974730d660
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
974730d660 | ||
|
|
02fc6dbbdd |
@ -4,7 +4,7 @@ async def search_user_inquiry_dict(ns={}):
|
|||||||
where_sql = "where status = 1"
|
where_sql = "where status = 1"
|
||||||
if ns.get('dict_type'):
|
if ns.get('dict_type'):
|
||||||
where_sql += " and dict_type = '%s'" % 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, {})
|
result = await sor.sqlExe(search_sql, {})
|
||||||
return {
|
return {
|
||||||
'status': True,
|
'status': True,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user