@ -60,9 +60,7 @@ module.exports = function (app, opts,ctx) {
ON fgroup.id = fprocess.group_id
INNER JOIN ${camWorkflow}.act_hi_procinst AS procin
ON procin.id_ = story.procinst_id
AND procin.state_='COMPLETED'
: ''}`
AND procin.state_='COMPLETED'`
).toPromise()
const procinstIds = [...new Set(formRes.map(e => e.procinstId))];
// 获取流程实例变量