This commit is contained in:
yumoqing 2025-08-25 17:37:20 +08:00
parent 6a212457c4
commit ffca2450e6

View File

@ -3,7 +3,7 @@ async def gethostinfo(sor, ns):
sql="""select a.* sql="""select a.*
from hostdev a from hostdev a
where a.id= ${id}$ where a.id= ${id}$
and a.ownerid = ${userid}$ and a.ownerid = ${ownerid}$
""" """
recs = await sor.sqlExe(sql,ns.copy()) recs = await sor.sqlExe(sql,ns.copy())
if len(recs) > 0: if len(recs) > 0: