bugfix
This commit is contained in:
parent
f3e6e3152d
commit
2ff084ac3b
@ -154,13 +154,15 @@ async def get_llms_by_catelog_to_customer(catelogid=None, orderby='providerid'):
|
|||||||
and a.ppid is not null
|
and a.ppid is not null
|
||||||
and a.expired_date > ${today}$
|
and a.expired_date > ${today}$
|
||||||
"""
|
"""
|
||||||
params = {'today': today, 'sort': orderby}
|
sortstr='catelog_id ' + orderby
|
||||||
|
params = {'today': today, 'sort': sortstr}
|
||||||
if catelogid:
|
if catelogid:
|
||||||
sql += " and rel.llmcatelogid = ${catelogid}$"
|
sql += " and rel.llmcatelogid = ${catelogid}$"
|
||||||
params['catelogid'] = catelogid
|
params['catelogid'] = catelogid
|
||||||
|
|
||||||
debug(f'{sql=}')
|
debug(f'{sql=}')
|
||||||
recs = await sor.sqlExe(sql, params)
|
recs = await sor.sqlExe(sql, params)
|
||||||
|
debug(f'{sql=}, {recs=}')
|
||||||
d = []
|
d = []
|
||||||
cid = ''
|
cid = ''
|
||||||
x = None
|
x = None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user