From 8424db492e61ecccd103e886ec7402fc83b90169 Mon Sep 17 00:00:00 2001 From: zhaobing Date: Thu, 25 Jan 2024 16:12:37 +0800 Subject: [PATCH] feat:fix bugs --- api/app/lib/schedule/workOrder.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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))]; // 获取流程实例变量