bugfix
This commit is contained in:
parent
c1bca0a8e0
commit
9613b02ffe
@ -335,7 +335,7 @@ where backid=${backid}$
|
|||||||
|
|
||||||
async def check_instance_completed(self, sor, inst):
|
async def check_instance_completed(self, sor, inst):
|
||||||
sql = "select * from node_execution where instance_id=${instance_id} and type='end'"
|
sql = "select * from node_execution where instance_id=${instance_id} and type='end'"
|
||||||
recs = await sor.sqlExe(sql, {'instance_id', inst.id})
|
recs = await sor.sqlExe(sql, {'instance_id': inst.id})
|
||||||
if recs:
|
if recs:
|
||||||
if recs[0].status == 'completed':
|
if recs[0].status == 'completed':
|
||||||
await sor.U('flow_instance', {
|
await sor.U('flow_instance', {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user