This commit is contained in:
yumoqing 2026-03-15 20:37:03 +08:00
parent 74f08339c9
commit d6c4b7c0be

View File

@ -586,7 +586,7 @@ async def get_org_flow_definition(request):
env = request._run_ns
orgid = await env.get_userorgid()
async with get_sor_context(env, 'dagflow') as sor:
sql = """select * from flow_definition where org_id in ${orids}$"""
sql = """select * from flow_definition where org_id in ${orgids}$"""
recs = await sor.sqlExe(sql, {'orgids': ['0', orgid]})
return recs
return []