This commit is contained in:
yumoqing 2025-08-13 13:55:55 +08:00
parent 9d2630c4df
commit 9214a2f3b7

View File

@ -43,7 +43,7 @@ from uapi a, upapp b, uapiset c
where a.apisetid = b.apisetid where a.apisetid = b.apisetid
and b.apisetid = c.id and b.apisetid = c.id
and a.name = ${apiname}$ and a.name = ${apiname}$
and b.id = ${uappid}$""" and b.id = ${upappid}$"""
recs = await sor.sqlExe(sql, {'upappid': upappid, 'apiname': apiname}) recs = await sor.sqlExe(sql, {'upappid': upappid, 'apiname': apiname})
if len(recs) == 0: if len(recs) == 0:
debug(f'{sql=},{upappid=}, {apiname=} uapi not found') debug(f'{sql=},{upappid=}, {apiname=} uapi not found')