|
|
@ -142,13 +142,16 @@ require(path.join(process.cwd(), "..", "server", "dist", "database.js")); |
|
|
|
|
|
|
|
|
|
|
|
for await (let path of pathCollection) { |
|
|
|
for await (let path of pathCollection) { |
|
|
|
const process = await bpmsDB.bpms_process.findByPk(path, { raw: true }); |
|
|
|
const process = await bpmsDB.bpms_process.findByPk(path, { raw: true }); |
|
|
|
const processData = await initFunctionData({ |
|
|
|
|
|
|
|
processId: process.id, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}) |
|
|
|
console.log(path,process); |
|
|
|
data = {...data, ...processData}; |
|
|
|
// const processData = await initFunctionData({
|
|
|
|
return; |
|
|
|
// processId: process.id,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
// data = { ...data, ...processData };
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|