Wenl 发表于 2020-1-20 11:45:02

查询人员在哪些流程设置了固定执行人

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
页: [1]
查看完整版本: 查询人员在哪些流程设置了固定执行人