Compare commits
No commits in common. "d4c079d11ed00bc9c6b8dc5e20a289809be56c96" and "565e9cd8a430fa1537aa5a97327fa2294dddf9b7" have entirely different histories.
d4c079d11e
...
565e9cd8a4
@ -3,13 +3,14 @@ async with get_sor_context(request._run_ns, 'llmage') as sor:
|
||||
sql = '''select distinct a.*, e.input_fields from llm a
|
||||
join llm_api_map m on a.id = m.llmid
|
||||
join llmcatelog b on m.llmcatelogid = b.id
|
||||
join uapi d on d.upappid = a.upappid and a.apiname = d.name
|
||||
join upapp c on a.upappid = c.id
|
||||
join uapi d on c.apisetid = d.apisetid and a.apiname = d.name
|
||||
join uapiio e on d.ioid = e.id
|
||||
where (b.id=${lt}$ OR b.name=${lt}$)
|
||||
and a.enabled_date <= ${biz_date}$
|
||||
and ${biz_date}$ < a.expired_date
|
||||
and a.status = 'published'
|
||||
and m.ppid is not NULL'''
|
||||
and ppid is not NULL'''
|
||||
biz_date = await get_business_date(sor)
|
||||
recs = await sor.sqlExe(sql, {
|
||||
'biz_date': biz_date,
|
||||
@ -27,7 +28,3 @@ return {
|
||||
'message': 'server error'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user