@ -13,8 +13,8 @@ module.exports = async function () {
v.process_id as process_id,
p.name as process_name,
v.bpmn_json
from pg_pepca_m.workflow_process_version as v
inner join pg_pepca_m.workflow_process as p on v.process_id=p.id
from workflow_process_version as v
inner join workflow_process as p on v.process_id=p.id
where v.current=true and p.is_enable=true and p.deleted=false
order by v.id desc
`).toPromise();