|
select flow.flow_alias,flow.id as node_id,flow.operusergroupid,item.item_id,item.item_type,case when item.item_type=5 then '人员ID' when item.item_type=1 then '领导岗位' when item.item_type=0 then '普通岗位' when item.item_type=2 then '部门' end item_id类型 from (
select x.flow_alias,y.id,y.operusergroupid from flow_info x,flow_node y where y.OPERUSERTYPE=0 and y.operusergroupid is not null and x.id=y.flow_id ) flow,SA_SELECTED_USER_ITEM item
where flow.operusergroupid=item.index_id
|
|