This commit is contained in:
yumoqing 2025-08-13 17:22:00 +08:00
parent 17621c5287
commit 6542c01e38

View File

@ -179,7 +179,8 @@ union
select unique a.* from folder a select unique a.* from folder a
left join file c on a.id=c.folderid left join file c on a.id=c.folderid
where a.id=${folderid}$ where a.id=${folderid}$
and c.id is not null""" and c.id is not null
"""
recs = await sor.sqlExe(sql, {'folderid':folderid}) recs = await sor.sqlExe(sql, {'folderid':folderid})
if recs: if recs:
return True return True