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