diff --git a/api/app/lib/schedule/workOrder.js b/api/app/lib/schedule/workOrder.js index 01e020c..09f4b0d 100644 --- a/api/app/lib/schedule/workOrder.js +++ b/api/app/lib/schedule/workOrder.js @@ -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))]; // 获取流程实例变量