Commit 89715d91 authored by 38823's avatar 38823

工作流监控跳转优化

parent fe89143c
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
<bm:field name="node_id" databaseType="NUMBER" datatype="java.lang.Long"/> <bm:field name="node_id" databaseType="NUMBER" datatype="java.lang.Long"/>
<bm:field name="parent_node_id" databaseType="NUMBER" datatype="java.lang.Long"/> <bm:field name="parent_node_id" databaseType="NUMBER" datatype="java.lang.Long"/>
<bm:field name="sequence_num" databaseType="VARCHAR2" datatype="java.lang.String" displayWidth="150" forDisplay="true" prompt="节点序号"/> <bm:field name="sequence_num" databaseType="VARCHAR2" datatype="java.lang.String" displayWidth="150" forDisplay="true" prompt="节点序号"/>
<bm:field name="node_type" databaseType="VARCHAR2" datatype="java.lang.String" displayWidth="150" forDisplay="true" prompt="节点类型"/>
<bm:field name="node_desc" databaseType="VARCHAR2" datatype="java.lang.String" displayWidth="250" forDisplay="true" forQuery="true" prompt="节点名称"/> <bm:field name="node_desc" databaseType="VARCHAR2" datatype="java.lang.String" displayWidth="250" forDisplay="true" forQuery="true" prompt="节点名称"/>
</bm:fields> </bm:fields>
<bm:operations> <bm:operations>
...@@ -14,6 +15,10 @@ ...@@ -14,6 +15,10 @@
select a.node_id, select a.node_id,
null as parent_node_id, null as parent_node_id,
to_char(a.sequence_num) as sequence_num, to_char(a.sequence_num) as sequence_num,
(select v.code_value_name
from sys_code_values_v v
where v.code = 'ZJ_WFL_NODE_TYPE'
and v.code_value = a.node_type) node_type,
node_desc node_desc
from zj_wfl_workflow_node a from zj_wfl_workflow_node a
where a.workflow_id = ${@workflow_id} where a.workflow_id = ${@workflow_id}
...@@ -22,6 +27,10 @@ ...@@ -22,6 +27,10 @@
select a.node_id, select a.node_id,
p.parent_node_id, p.parent_node_id,
p.sequence_num || '-' || a.sequence_num, p.sequence_num || '-' || a.sequence_num,
(select v.code_value_name
from sys_code_values_v v
where v.code = 'ZJ_WFL_NODE_TYPE'
and v.code_value = a.node_type) node_type,
p.node_desc || '-' || a.node_desc p.node_desc || '-' || a.node_desc
from zj_wfl_workflow_node a, from zj_wfl_workflow_node a,
(select a.link_workflow_id, (select a.link_workflow_id,
......
...@@ -112,6 +112,7 @@ ...@@ -112,6 +112,7 @@
<a:field name="jump_node_desc" lovGridHeight="300" lovHeight="450" lovService="zjwfl.ZJWFL1060.zj_wfl_monitoring_admin_jump_node?workflow_id=${/parameter/@workflow_id}" lovWidth="480" prompt="跳转到节点" title="跳转到节点"> <a:field name="jump_node_desc" lovGridHeight="300" lovHeight="450" lovService="zjwfl.ZJWFL1060.zj_wfl_monitoring_admin_jump_node?workflow_id=${/parameter/@workflow_id}" lovWidth="480" prompt="跳转到节点" title="跳转到节点">
<a:mapping> <a:mapping>
<a:map from="node_desc" to="jump_node_desc"/> <a:map from="node_desc" to="jump_node_desc"/>
<a:map from="node_type" to="node_type"/>
<a:map from="node_id" to="node_id"/> <a:map from="node_id" to="node_id"/>
<a:map from="parent_node_id" to="parent_node_id"/> <a:map from="parent_node_id" to="parent_node_id"/>
</a:mapping> </a:mapping>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment