bugfix
This commit is contained in:
parent
77dab4eb24
commit
3817955fa4
@ -30,8 +30,8 @@ async def get_llms_by_catelog(catelogid):
|
|||||||
today = curDateString()
|
today = curDateString()
|
||||||
sql = """select * from llm
|
sql = """select * from llm
|
||||||
where llmcatelogid = ${llmcatelogid}$
|
where llmcatelogid = ${llmcatelogid}$
|
||||||
enabled_date <= ${today}$
|
and enabled_date <= ${today}$
|
||||||
expired_date > ${today}$
|
and expired_date > ${today}$
|
||||||
"""
|
"""
|
||||||
recs = await sor.sqlExe(sql, {'llmcatelogid': catelogid, 'today': today})
|
recs = await sor.sqlExe(sql, {'llmcatelogid': catelogid, 'today': today})
|
||||||
return recs
|
return recs
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user